use of org.apache.druid.segment.column.ColumnDescriptor in project druid by druid-io.
the class DoubleDimensionMergerV9 method makeColumnDescriptor.
@Override
public ColumnDescriptor makeColumnDescriptor() {
final ColumnDescriptor.Builder builder = ColumnDescriptor.builder();
builder.setValueType(ValueType.DOUBLE);
ColumnPartSerde serde = IndexMergerV9.createDoubleColumnPartSerde(serializer, indexSpec);
builder.addSerde(serde);
return builder.build();
}
use of org.apache.druid.segment.column.ColumnDescriptor in project druid by druid-io.
the class FloatDimensionMergerV9 method makeColumnDescriptor.
@Override
public ColumnDescriptor makeColumnDescriptor() {
final ColumnDescriptor.Builder builder = ColumnDescriptor.builder();
builder.setValueType(ValueType.FLOAT);
ColumnPartSerde serde = IndexMergerV9.createFloatColumnPartSerde(serializer, indexSpec);
builder.addSerde(serde);
return builder.build();
}
Aggregations