Package org.apache.druid.segment.nested
Class NestedDataColumnV5<TKeyDictionary extends Indexed<ByteBuffer>,TStringDictionary extends Indexed<ByteBuffer>>
java.lang.Object
org.apache.druid.segment.nested.NestedDataComplexColumn
org.apache.druid.segment.nested.CompressedNestedDataComplexColumn<TKeyDictionary,TStringDictionary>
org.apache.druid.segment.nested.NestedDataColumnV5<TKeyDictionary,TStringDictionary>
- All Implemented Interfaces:
Closeable,AutoCloseable,BaseColumn,ComplexColumn,SelectableColumn,NestedColumnIndexSupplier,NestedColumnSelectorFactory,NestedColumnTypeInspector,NestedCommonFormatColumn,NestedVectorColumnSelectorFactory
public class NestedDataColumnV5<TKeyDictionary extends Indexed<ByteBuffer>,TStringDictionary extends Indexed<ByteBuffer>>
extends CompressedNestedDataComplexColumn<TKeyDictionary,TStringDictionary>
Nested data column with optimized support for simple arrays. Not actually v5 in the segment since columns are now
serialized using
NestedCommonFormatColumnPartSerde instead of the generic
complex type system.
Not really stored in a segment as V5 since instead of V5 we migrated to NestedCommonFormatColumn which
specializes physical format based on the types of data encountered during processing, and so versions are now
NestedCommonFormatColumnSerializer.V0 for all associated specializations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.druid.segment.nested.NestedCommonFormatColumn
NestedCommonFormatColumn.Format -
Field Summary
Fields inherited from class org.apache.druid.segment.nested.CompressedNestedDataComplexColumn
INT_TYPE_STRATEGY -
Constructor Summary
ConstructorsConstructorDescriptionNestedDataColumnV5(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, com.google.common.base.Supplier<TKeyDictionary> fields, FieldTypeInfo fieldInfo, com.google.common.base.Supplier<TStringDictionary> stringDictionary, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, com.google.common.base.Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier, SegmentFileMapper fileMapper, NestedCommonFormatColumnFormatSpec columnFormatSpec, ByteOrder byteOrder) -
Method Summary
Modifier and TypeMethodDescriptiongetField(List<NestedPathPart> path) getFieldFileName(String fileNameBase, String field, int fieldIndex) Methods inherited from class org.apache.druid.segment.nested.CompressedNestedDataComplexColumn
as, close, getArrayDictionary, getColumnHolder, getColumnIndexSupplier, getDoubleDictionary, getFieldLogicalType, getFieldTypeInfo, getFieldTypes, getLength, getLogicalType, getLongDictionary, getNestedFields, getNullValues, getRowValue, getStringDictionary, getUtf8BytesDictionary, isNumeric, makeColumnValueSelector, makeColumnValueSelector, makeDimensionSelector, makeSingleValueDimensionVectorSelector, makeVectorObjectSelector, makeVectorObjectSelector, makeVectorValueSelector, makeVectorValueSelectorMethods inherited from class org.apache.druid.segment.nested.NestedDataComplexColumn
getClazz, getTypeName
-
Constructor Details
-
NestedDataColumnV5
public NestedDataColumnV5(String columnName, ColumnType logicalType, ColumnConfig columnConfig, @Nullable CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, com.google.common.base.Supplier<TKeyDictionary> fields, FieldTypeInfo fieldInfo, com.google.common.base.Supplier<TStringDictionary> stringDictionary, com.google.common.base.Supplier<FixedIndexed<Long>> longDictionarySupplier, com.google.common.base.Supplier<FixedIndexed<Double>> doubleDictionarySupplier, com.google.common.base.Supplier<FrontCodedIntArrayIndexed> arrayDictionarySupplier, SegmentFileMapper fileMapper, NestedCommonFormatColumnFormatSpec columnFormatSpec, ByteOrder byteOrder)
-
-
Method Details
-
parsePath
- Specified by:
parsePathin classCompressedNestedDataComplexColumn<TKeyDictionary extends Indexed<ByteBuffer>,TStringDictionary extends Indexed<ByteBuffer>>
-
getFieldFileName
- Specified by:
getFieldFileNamein classCompressedNestedDataComplexColumn<TKeyDictionary extends Indexed<ByteBuffer>,TStringDictionary extends Indexed<ByteBuffer>>
-
getField
- Specified by:
getFieldin classCompressedNestedDataComplexColumn<TKeyDictionary extends Indexed<ByteBuffer>,TStringDictionary extends Indexed<ByteBuffer>>
-