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 ColumnPartSerdepublic void write(WritableByteChannel channel) throws IOException
write in interface ColumnPartSerdeIOExceptionpublic ColumnPartSerde read(ByteBuffer buffer, ColumnBuilder builder, ColumnConfig columnConfig)
read in interface ColumnPartSerdeCopyright © 2015. All rights reserved.