public class FeatureKeySerializer extends Object implements Serializer<FeatureKey>
Serializer implementation for FeatureKey.FeatureKey| Modifier and Type | Field and Description |
|---|---|
protected Serializer<Id> |
idSerializer
The
Serializer the manages Ids. |
protected Serializer<String> |
stringSerializer
The
Serializer that manages Strings. |
BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BYTE, BYTE_ARRAY, BYTE_ARRAY_DELTA, BYTE_ARRAY_DELTA2, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, ELSA, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_DELTA, INTEGER_PACKED, JAVA, LONG, LONG_ARRAY, LONG_DELTA, LONG_PACKED, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_DELTA, STRING_DELTA2, STRING_INTERN, STRING_NOSIZE, STRING_ORIGHASH, UUID| Constructor and Description |
|---|
FeatureKeySerializer() |
| Modifier and Type | Method and Description |
|---|---|
FeatureKey |
deserialize(DataInput2 in,
int i) |
void |
serialize(DataOutput2 out,
FeatureKey key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, compare, deserializeFromLong, equals, fixedSize, hashCode, isTrusted, needsAvailableSizeHintcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprotected final Serializer<String> stringSerializer
Serializer that manages Strings.protected final Serializer<Id> idSerializer
Serializer the manages Ids.public void serialize(@Nonnull DataOutput2 out, @Nonnull FeatureKey key) throws IOException
serialize in interface Serializer<FeatureKey>IOExceptionpublic FeatureKey deserialize(@Nonnull DataInput2 in, int i) throws IOException
deserialize in interface Serializer<FeatureKey>IOExceptionCopyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.