public class DictionaryEncodedColumnPartSerde extends Object implements ColumnPartSerde
Constructor and Description |
---|
DictionaryEncodedColumnPartSerde(boolean isSingleValued,
BitmapSerdeFactory bitmapSerdeFactory) |
DictionaryEncodedColumnPartSerde(GenericIndexed<String> dictionary,
VSizeIndexedInts singleValCol,
VSizeIndexed multiValCol,
BitmapSerdeFactory bitmapSerdeFactory,
GenericIndexed<com.metamx.collections.bitmap.ImmutableBitmap> bitmaps,
com.metamx.collections.spatial.ImmutableRTree spatialIndex) |
Modifier and Type | Method and Description |
---|---|
BitmapSerdeFactory |
getBitmapSerdeFactory() |
long |
numBytes() |
ColumnPartSerde |
read(ByteBuffer buffer,
ColumnBuilder builder,
ColumnConfig columnConfig) |
void |
write(WritableByteChannel channel) |
public DictionaryEncodedColumnPartSerde(GenericIndexed<String> dictionary, VSizeIndexedInts singleValCol, VSizeIndexed multiValCol, BitmapSerdeFactory bitmapSerdeFactory, GenericIndexed<com.metamx.collections.bitmap.ImmutableBitmap> bitmaps, com.metamx.collections.spatial.ImmutableRTree spatialIndex)
public DictionaryEncodedColumnPartSerde(boolean isSingleValued, BitmapSerdeFactory bitmapSerdeFactory)
public BitmapSerdeFactory getBitmapSerdeFactory()
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 © 2015. All rights reserved.