Package org.apache.druid.segment.nested
Interface NestedColumnTypeInspector
- All Known Implementing Classes:
CompressedNestedDataComplexColumn,NestedDataColumnV3,NestedDataColumnV4,NestedDataColumnV5,NestedDataComplexColumn
public interface NestedColumnTypeInspector
-
Method Summary
Modifier and TypeMethodDescriptionReducesgetFieldTypes(List)for the nested field column usingColumnType.leastRestrictiveType(ColumnType, ColumnType)getFieldTypes(List<NestedPathPart> path) Get allColumnTypefor the nested field columnGet list of fields represented as a sequence ofNestedPathPartbooleanisNumeric(List<NestedPathPart> path) Shortcut to check if a nested field column isTypeSignature.isNumeric(), useful when broadly choosing the type of vector selector to be used when dealing with the path
-
Method Details
-
getNestedFields
List<List<NestedPathPart>> getNestedFields()Get list of fields represented as a sequence ofNestedPathPart -
getFieldTypes
Get allColumnTypefor the nested field column -
getFieldLogicalType
ReducesgetFieldTypes(List)for the nested field column usingColumnType.leastRestrictiveType(ColumnType, ColumnType) -
isNumeric
Shortcut to check if a nested field column isTypeSignature.isNumeric(), useful when broadly choosing the type of vector selector to be used when dealing with the path
-