Package org.apache.druid.segment.nested
Class NestedCommonFormatColumn.Format
java.lang.Object
org.apache.druid.segment.nested.NestedCommonFormatColumn.Format
- All Implemented Interfaces:
ColumnFormat
- Enclosing interface:
- NestedCommonFormatColumn
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final NestedCommonFormatColumnFormatSpecprotected final booleanprotected final booleanprotected final ColumnType -
Constructor Summary
ConstructorsConstructorDescriptionFormat(ColumnType logicalType, boolean hasNulls, boolean enforceLogicalType, NestedCommonFormatColumnFormatSpec columnFormatSpec) -
Method Summary
Modifier and TypeMethodDescriptiongetColumnHandler(String columnName) Create aDimensionHandlerwhich can be used to create indexers and mergers to produce a new column with this formatgetColumnSchema(String columnName) Creates aDimensionSchemawhich can be used to create new segment schemas for ingestion jobs to create columns with this formatmerge(ColumnFormat otherFormat) Create a newColumnFormatfrom this format and another format, merging implementation specific physical storage details as appropriate to determine what the new format should be.Convert physical column details to genericColumnCapabilitiesfor query time analysis
-
Field Details
-
logicalType
-
hasNulls
protected final boolean hasNulls -
enforceLogicalType
protected final boolean enforceLogicalType -
columnFormatSpec
-
-
Constructor Details
-
Format
public Format(ColumnType logicalType, boolean hasNulls, boolean enforceLogicalType, NestedCommonFormatColumnFormatSpec columnFormatSpec)
-
-
Method Details
-
getLogicalType
- Specified by:
getLogicalTypein interfaceColumnFormat
-
getColumnHandler
Description copied from interface:ColumnFormatCreate aDimensionHandlerwhich can be used to create indexers and mergers to produce a new column with this format- Specified by:
getColumnHandlerin interfaceColumnFormat
-
getColumnSchema
Description copied from interface:ColumnFormatCreates aDimensionSchemawhich can be used to create new segment schemas for ingestion jobs to create columns with this format- Specified by:
getColumnSchemain interfaceColumnFormat
-
merge
Description copied from interface:ColumnFormatCreate a newColumnFormatfrom this format and another format, merging implementation specific physical storage details as appropriate to determine what the new format should be.- Specified by:
mergein interfaceColumnFormat
-
toColumnCapabilities
Description copied from interface:ColumnFormatConvert physical column details to genericColumnCapabilitiesfor query time analysis- Specified by:
toColumnCapabilitiesin interfaceColumnFormat
-