use of org.apache.druid.segment.serde.ComplexColumnPartSupplier in project druid by druid-io.
the class ArrayOfDoublesSketchMergeComplexMetricSerde method deserializeColumn.
@Override
public void deserializeColumn(final ByteBuffer buffer, final ColumnBuilder builder) {
final GenericIndexed<ArrayOfDoublesSketch> ge = GenericIndexed.read(buffer, ArrayOfDoublesSketchObjectStrategy.STRATEGY);
builder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), ge));
}
use of org.apache.druid.segment.serde.ComplexColumnPartSupplier in project druid by druid-io.
the class ApproximateHistogramFoldingSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer byteBuffer, ColumnBuilder columnBuilder) {
final GenericIndexed<ApproximateHistogram> column = GenericIndexed.read(byteBuffer, getObjectStrategy(), columnBuilder.getFileMapper());
columnBuilder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of org.apache.druid.segment.serde.ComplexColumnPartSupplier 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));
}
use of org.apache.druid.segment.serde.ComplexColumnPartSupplier in project druid by druid-io.
the class TDigestSketchComplexMetricSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer buffer, ColumnBuilder builder) {
final GenericIndexed<MergingDigest> column = GenericIndexed.read(buffer, STRATEGY, builder.getFileMapper());
builder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
use of org.apache.druid.segment.serde.ComplexColumnPartSupplier in project druid by druid-io.
the class MomentSketchComplexMetricSerde method deserializeColumn.
@Override
public void deserializeColumn(ByteBuffer buffer, ColumnBuilder builder) {
final GenericIndexed<MomentSketchWrapper> column = GenericIndexed.read(buffer, STRATEGY, builder.getFileMapper());
builder.setComplexColumnSupplier(new ComplexColumnPartSupplier(getTypeName(), column));
}
Aggregations