Class BeamRelDataTypeSystem

java.lang.Object
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl
org.apache.beam.sdk.extensions.sql.impl.planner.BeamRelDataTypeSystem
All Implemented Interfaces:
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem

public class BeamRelDataTypeSystem extends org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl
customized data type in Beam.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem
     

    Fields inherited from interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem

    DEFAULT
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getDefaultPrecision(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.type.SqlTypeName typeName)
     
    int
     
    int
     
    int
    getMaxPrecision(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.type.SqlTypeName typeName)
     
    boolean
     

    Methods inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl

    deriveAvgAggType, deriveCovarType, deriveFractionalRankType, deriveRankType, deriveSumType, getDefaultScale, getLiteral, getMaxScale, getMinPrecision, getMinScale, getNumTypeRadix, isAutoincrement, isCaseSensitive, isSchemaCaseSensitive, roundingMode

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem

    deriveDecimalDivideType, deriveDecimalModType, deriveDecimalMultiplyType, deriveDecimalPlusType, deriveTimeFrameSet, mapKeysCanBeNullable, shouldUseDoubleMultiplication
  • Field Details

    • INSTANCE

      public static final org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem INSTANCE
  • Method Details

    • getMaxNumericScale

      public int getMaxNumericScale()
      Specified by:
      getMaxNumericScale in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem
      Overrides:
      getMaxNumericScale in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl
    • getMaxNumericPrecision

      public int getMaxNumericPrecision()
      Specified by:
      getMaxNumericPrecision in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem
      Overrides:
      getMaxNumericPrecision in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl
    • shouldConvertRaggedUnionTypesToVarying

      public boolean shouldConvertRaggedUnionTypesToVarying()
      Specified by:
      shouldConvertRaggedUnionTypesToVarying in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem
      Overrides:
      shouldConvertRaggedUnionTypesToVarying in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl
    • getDefaultPrecision

      public int getDefaultPrecision(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.type.SqlTypeName typeName)
      Specified by:
      getDefaultPrecision in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem
      Overrides:
      getDefaultPrecision in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl
    • getMaxPrecision

      public int getMaxPrecision(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.type.SqlTypeName typeName)
      Specified by:
      getMaxPrecision in interface org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystem
      Overrides:
      getMaxPrecision in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.rel.type.RelDataTypeSystemImpl