public static interface MapDB.Serializers
Modifier and Type | Method and Description |
---|---|
org.mapdb.BTreeKeySerializer<?> |
bTreeKeySerializerFor(Class<?> type,
Comparator<?> comparator,
boolean pack)
Obtain a serializer for the given key type.
|
org.mapdb.Serializer<?> |
nullSafeSerializerFor(Class<?> type)
Obtain a serializer for the given value type that can handle nulls.
|
org.mapdb.Serializer<?> |
serializerFor(Class<?> type)
Obtain a serializer for the given value type.
|
org.mapdb.Serializer<?> serializerFor(Class<?> type)
type
- the type; may not be nullorg.mapdb.BTreeKeySerializer<?> bTreeKeySerializerFor(Class<?> type, Comparator<?> comparator, boolean pack)
type
- the type; may not be nullcomparator
- the comparator; may not be nullpack
- true if the serializer can/should pack keys together when possible, or false otherwiseorg.mapdb.Serializer<?> nullSafeSerializerFor(Class<?> type)
type
- the type; may not be nullCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.