Class BsonKeysProvider
java.lang.Object
io.micronaut.serde.bson.BsonKeysProvider
- All Implemented Interfaces:
KeysProvider
Contributes BSON key data to
Keys.- Since:
- 3.1
- Author:
- Denis Stepanov
-
Constructor Details
-
BsonKeysProvider
public BsonKeysProvider()
-
-
Method Details
-
keysType
Description copied from interface:KeysProviderThe contribution type supplied by this provider.- Specified by:
keysTypein interfaceKeysProvider- Returns:
- The contribution type
-
create
Description copied from interface:KeysProviderCreate backend-specific data for the supplied keys. The returned value must be safe to reuse across encoder and decoder instances.- Specified by:
createin interfaceKeysProvider- Parameters:
keys- The keys- Returns:
- The backend-specific data
-