Class MeasureSqlType

All Implemented Interfaces:
Serializable, Cloneable, RelDataType, RelDataTypeFamily

public class MeasureSqlType extends AbstractSqlType
Measure SQL type.

The type serves as a tag that the measure must be expanded into an expression before use.

See Also:
  • Field Details

    • types

      protected final<? extends RelDataType> types
  • Method Details

    • getMeasureElementType

      public RelDataType getMeasureElementType()
      Description copied from interface: RelDataType
      Gets the element type if this type is a measure, otherwise null.
      canonical type descriptor for the value used in the measure
    • generateTypeString

      protected void generateTypeString(StringBuilder sb, boolean withDetail)
      Generates a string representation of this type.

      Generate, for example, MEASURE<INTEGER>.

      Specified by:
      generateTypeString in class RelDataTypeImpl
      sb - StringBuilder into which to generate the string
      withDetail - when true, all detail information needed to compute a unique digest (and return from getFullTypeString) should be included;