use of io.druid.segment.data.GenericIndexed in project druid by druid-io.
the class HyperUniquesSerdeForTest method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer byteBuffer, ColumnBuilder columnBuilder) {
final GenericIndexed column;
if (columnBuilder.getFileMapper() == null) {
column = GenericIndexed.read(byteBuffer, getObjectStrategy());
} else {
column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
}
columnBuilder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of io.druid.segment.data.GenericIndexed in project druid by druid-io.
the class ApproximateHistogramFoldingSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer byteBuffer, ColumnBuilder columnBuilder) {
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy());
columnBuilder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
}
Aggregations