use of org.apache.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.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of org.apache.druid.segment.data.GenericIndexed in project druid by druid-io.
the class VarianceSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer byteBuffer, ColumnBuilder columnBuilder) {
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
columnBuilder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of org.apache.druid.segment.data.GenericIndexed in project druid by druid-io.
the class SerializablePairLongStringSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer buffer, ColumnBuilder columnBuilder) {
final GenericIndexed column = GenericIndexed.read(buffer, getObjectStrategy(), columnBuilder.getFileMapper());
columnBuilder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of org.apache.druid.segment.data.GenericIndexed in project druid by druid-io.
the class HyperUniquesSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer byteBuffer, ColumnBuilder columnBuilder) {
final GenericIndexed column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
columnBuilder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of org.apache.druid.segment.data.GenericIndexed in project druid by druid-io.
the class FixedBucketsHistogramSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer buffer, ColumnBuilder builder) {
final GenericIndexed column = GenericIndexed.read(buffer, getObjectStrategy(), builder.getFileMapper());
builder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
Aggregations