public class LongGenericColumnPartSerde extends Object implements ColumnPartSerde
Constructor and Description |
---|
LongGenericColumnPartSerde(CompressedLongsIndexedSupplier compressedLongs,
ByteOrder byteOrder) |
Modifier and Type | Method and Description |
---|---|
static LongGenericColumnPartSerde |
createDeserializer(ByteOrder byteOrder) |
ByteOrder |
getByteOrder() |
long |
numBytes() |
ColumnPartSerde |
read(ByteBuffer buffer,
ColumnBuilder builder,
ColumnConfig columnConfig) |
void |
write(WritableByteChannel channel) |
public LongGenericColumnPartSerde(CompressedLongsIndexedSupplier compressedLongs, ByteOrder byteOrder)
public static LongGenericColumnPartSerde createDeserializer(ByteOrder byteOrder)
public ByteOrder getByteOrder()
public long numBytes()
numBytes
in interface ColumnPartSerde
public void write(WritableByteChannel channel) throws IOException
write
in interface ColumnPartSerde
IOException
public ColumnPartSerde read(ByteBuffer buffer, ColumnBuilder builder, ColumnConfig columnConfig)
read
in interface ColumnPartSerde
Copyright © 2011–2015. All rights reserved.