protected abstract static class Serializer.FourByteSerializer<E> extends Serializer<E>
Serializer.Array<T>, Serializer.CompressionDeflateWrapper<E>, Serializer.CompressionWrapper<E>, Serializer.EightByteSerializer<E>, Serializer.FourByteSerializer<E>, Serializer.IntegerSerializer, Serializer.LongSerializer
BASIC, BIG_DECIMAL, BIG_INTEGER, BOOLEAN, BOOLEAN_ARRAY, BYTE, BYTE_ARRAY, BYTE_ARRAY_NOSIZE, CHAR, CHAR_ARRAY, CLASS, DATE, DOUBLE, DOUBLE_ARRAY, FLOAT, FLOAT_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, INTEGER_PACKED, INTEGER_PACKED_ZIGZAG, JAVA, LONG, LONG_ARRAY, LONG_PACKED, LONG_PACKED_ZIGZAG, RECID, RECID_ARRAY, SHORT, SHORT_ARRAY, STRING, STRING_ASCII, STRING_INTERN, STRING_NOSIZE, UUID
Modifier | Constructor and Description |
---|---|
protected |
FourByteSerializer() |
Modifier and Type | Method and Description |
---|---|
int |
fixedSize()
Data could be serialized into record with variable size or fixed size.
|
boolean |
isTrusted() |
protected abstract int |
pack(E l) |
protected abstract E |
unpack(int l) |
Object |
valueArrayCopyOfRange(Object vals,
int from,
int to) |
Object |
valueArrayDeleteValue(Object vals,
int pos) |
Object |
valueArrayDeserialize(DataInput in,
int size) |
Object |
valueArrayEmpty() |
Object |
valueArrayFromArray(Object[] objects) |
E |
valueArrayGet(Object vals,
int pos) |
Object |
valueArrayPut(Object vals,
int pos,
E newValue) |
void |
valueArraySerialize(DataOutput out,
Object vals) |
int |
valueArraySize(Object vals) |
Object |
valueArrayUpdateVal(Object vals,
int pos,
E newValue) |
deserialize, equals, getBTreeKeySerializer, hashCode, serialize
protected abstract E unpack(int l)
protected abstract int pack(E l)
public boolean isTrusted()
isTrusted
in class Serializer<E>
public int fixedSize()
Serializer
fixedSize
in class Serializer<E>
public E valueArrayGet(Object vals, int pos)
valueArrayGet
in class Serializer<E>
public int valueArraySize(Object vals)
valueArraySize
in class Serializer<E>
public Object valueArrayEmpty()
valueArrayEmpty
in class Serializer<E>
public Object valueArrayPut(Object vals, int pos, E newValue)
valueArrayPut
in class Serializer<E>
public Object valueArrayUpdateVal(Object vals, int pos, E newValue)
valueArrayUpdateVal
in class Serializer<E>
public Object valueArrayFromArray(Object[] objects)
valueArrayFromArray
in class Serializer<E>
public Object valueArrayCopyOfRange(Object vals, int from, int to)
valueArrayCopyOfRange
in class Serializer<E>
public Object valueArrayDeleteValue(Object vals, int pos)
valueArrayDeleteValue
in class Serializer<E>
public void valueArraySerialize(DataOutput out, Object vals) throws IOException
valueArraySerialize
in class Serializer<E>
IOException
public Object valueArrayDeserialize(DataInput in, int size) throws IOException
valueArrayDeserialize
in class Serializer<E>
IOException
Copyright © 2015. All Rights Reserved.