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 Id s. |
protected Serializer<String> |
stringSerializer
The
Serializer that manages String s. |
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, wait
clone, compare, deserializeFromLong, equals, fixedSize, hashCode, isTrusted, needsAvailableSizeHint
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected final Serializer<String> stringSerializer
Serializer
that manages String
s.protected final Serializer<Id> idSerializer
Serializer
the manages Id
s.public void serialize(@Nonnull DataOutput2 out, @Nonnull FeatureKey key) throws IOException
serialize
in interface Serializer<FeatureKey>
IOException
public FeatureKey deserialize(@Nonnull DataInput2 in, int i) throws IOException
deserialize
in interface Serializer<FeatureKey>
IOException
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.