Search in sources :

Example 1 with ComplexColumnPartSupplier

use of io.druid.segment.serde.ComplexColumnPartSupplier in project druid by druid-io.

the class SketchMergeComplexMetricSerde method deserializeColumn.

@Override
public void deserializeColumn(ByteBuffer buffer, ColumnBuilder builder) {
    GenericIndexed<Sketch> ge = GenericIndexed.read(buffer, strategy);
    builder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), ge));
}
Also used : Sketch(com.yahoo.sketches.theta.Sketch) ComplexColumnPartSupplier(io.druid.segment.serde.ComplexColumnPartSupplier)

Example 2 with ComplexColumnPartSupplier

use of io.druid.segment.serde.ComplexColumnPartSupplier 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.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
}
Also used : GenericIndexed(io.druid.segment.data.GenericIndexed) ComplexColumnPartSupplier(io.druid.segment.serde.ComplexColumnPartSupplier)

Example 3 with ComplexColumnPartSupplier

use of io.druid.segment.serde.ComplexColumnPartSupplier 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.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
}
Also used : GenericIndexed(io.druid.segment.data.GenericIndexed) ComplexColumnPartSupplier(io.druid.segment.serde.ComplexColumnPartSupplier)

Example 4 with ComplexColumnPartSupplier

use of io.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 column = GenericIndexed.read(byteBuffer, getObjectStrategy());
    columnBuilder.setComplexColumn(new ComplexColumnPartSupplier(getTypeName(), column));
}
Also used : GenericIndexed(io.druid.segment.data.GenericIndexed) ComplexColumnPartSupplier(io.druid.segment.serde.ComplexColumnPartSupplier)

Aggregations

ComplexColumnPartSupplier (io.druid.segment.serde.ComplexColumnPartSupplier)4 GenericIndexed (io.druid.segment.data.GenericIndexed)3 Sketch (com.yahoo.sketches.theta.Sketch)1