public class MultivaluedFeatureKeySerializer extends FeatureKeySerializer
FeatureKeySerializer
that is able to serialize MultivaluedFeatureKey
.FeatureKeySerializer
,
MultivaluedFeatureKey
Modifier and Type | Field and Description |
---|---|
protected Serializer<Integer> |
intSerializer
An embedded
Integer Serializer used to handle collection indices. |
idSerializer, stringSerializer
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 |
---|
MultivaluedFeatureKeySerializer() |
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<Integer> intSerializer
Integer
Serializer
used to handle collection indices.public void serialize(@Nonnull DataOutput2 out, @Nonnull FeatureKey key) throws IOException
serialize
in interface Serializer<FeatureKey>
serialize
in class FeatureKeySerializer
IOException
public FeatureKey deserialize(@Nonnull DataInput2 in, int i) throws IOException
deserialize
in interface Serializer<FeatureKey>
deserialize
in class FeatureKeySerializer
IOException
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.