public class DictionaryEncodedColumnPartSerde extends Object implements ColumnPartSerde
Constructor and Description |
---|
DictionaryEncodedColumnPartSerde(GenericIndexed<String> dictionary,
VSizeIndexedInts singleValCol,
VSizeIndexed multiValCol,
GenericIndexed<it.uniroma3.mat.extendedset.intset.ImmutableConciseSet> bitmaps,
com.metamx.collections.spatial.ImmutableRTree spatialIndex) |
Modifier and Type | Method and Description |
---|---|
static DictionaryEncodedColumnPartSerde |
createDeserializer(boolean singleValued) |
long |
numBytes() |
ColumnPartSerde |
read(ByteBuffer buffer,
ColumnBuilder builder,
ColumnConfig columnConfig) |
void |
write(WritableByteChannel channel) |
public DictionaryEncodedColumnPartSerde(GenericIndexed<String> dictionary, VSizeIndexedInts singleValCol, VSizeIndexed multiValCol, GenericIndexed<it.uniroma3.mat.extendedset.intset.ImmutableConciseSet> bitmaps, com.metamx.collections.spatial.ImmutableRTree spatialIndex)
public static DictionaryEncodedColumnPartSerde createDeserializer(boolean singleValued)
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.