Package org.apache.druid.segment.nested
Class NestedDataColumnV5<TStringDictionary extends Indexed<ByteBuffer>>
- java.lang.Object
-
- org.apache.druid.segment.nested.NestedDataComplexColumn
-
- org.apache.druid.segment.nested.CompressedNestedDataComplexColumn<TStringDictionary>
-
- org.apache.druid.segment.nested.NestedDataColumnV5<TStringDictionary>
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BaseColumn
,ComplexColumn
,NestedCommonFormatColumn
public class NestedDataColumnV5<TStringDictionary extends Indexed<ByteBuffer>> extends CompressedNestedDataComplexColumn<TStringDictionary>
Nested data column with optimized support for simple arrays. Not actually v5 in the segment since columns are now serialized usingNestedCommonFormatColumnPartSerde
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 nowNestedCommonFormatColumnSerializer.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
Constructors Constructor Description NestedDataColumnV5(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, GenericIndexed<String> 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, SmooshedFileMapper fileMapper, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getField(List<NestedPathPart> path)
String
getFieldFileName(String fileNameBase, String field, int fieldIndex)
List<NestedPathPart>
parsePath(String path)
-
Methods inherited from class org.apache.druid.segment.nested.CompressedNestedDataComplexColumn
close, getArrayDictionary, getColumnHolder, getColumnIndexSupplier, getColumnTypes, getDoubleDictionary, getFieldTypeInfo, getLength, getLogicalType, getLongDictionary, getNestedFields, getNullValues, getRowValue, getStringDictionary, getUtf8BytesDictionary, isNumeric, makeColumnValueSelector, makeColumnValueSelector, makeDimensionSelector, makeSingleValueDimensionVectorSelector, makeVectorObjectSelector, makeVectorObjectSelector, makeVectorValueSelector, makeVectorValueSelector
-
Methods inherited from class org.apache.druid.segment.nested.NestedDataComplexColumn
getClazz, getTypeName
-
-
-
-
Constructor Detail
-
NestedDataColumnV5
public NestedDataColumnV5(String columnName, ColumnType logicalType, ColumnConfig columnConfig, CompressedVariableSizedBlobColumnSupplier compressedRawColumnSupplier, ImmutableBitmap nullValues, GenericIndexed<String> 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, SmooshedFileMapper fileMapper, BitmapSerdeFactory bitmapSerdeFactory, ByteOrder byteOrder)
-
-
Method Detail
-
parsePath
public List<NestedPathPart> parsePath(String path)
- Specified by:
parsePath
in classCompressedNestedDataComplexColumn<TStringDictionary extends Indexed<ByteBuffer>>
-
getFieldFileName
public String getFieldFileName(String fileNameBase, String field, int fieldIndex)
- Specified by:
getFieldFileName
in classCompressedNestedDataComplexColumn<TStringDictionary extends Indexed<ByteBuffer>>
-
getField
public String getField(List<NestedPathPart> path)
- Specified by:
getField
in classCompressedNestedDataComplexColumn<TStringDictionary extends Indexed<ByteBuffer>>
-
-