Interface ColumnFormat

All Known Implementing Classes:
CapabilitiesBasedFormat, NestedCommonFormatColumn.Format, NestedDataComplexTypeSerde.NestedColumnFormatV4

public interface ColumnFormat
Abstraction for the physical storage components of a column, allowing us to decouple a columns logical type from how it is actually stored in a segment. Also provides methods to create DimensionHandler and DimensionSchema for creating new columns with identical physical storage components.
  • Method Details

    • getLogicalType

      ColumnType getLogicalType()
    • toColumnCapabilities

      ColumnCapabilities toColumnCapabilities()
      Convert physical column details to generic ColumnCapabilities for query time analysis
    • getColumnHandler

      DimensionHandler getColumnHandler(String columnName)
      Create a DimensionHandler which can be used to create indexers and mergers to produce a new column with this format
    • getColumnSchema

      DimensionSchema getColumnSchema(String columnName)
      Creates a DimensionSchema which can be used to create new segment schemas for ingestion jobs to create columns with this format
    • merge

      ColumnFormat merge(@Nullable ColumnFormat otherFormat)
      Create a new ColumnFormat from this format and another format, merging implementation specific physical storage details as appropriate to determine what the new format should be.