Class FrameworksTest.HiveLikeTypeSystem

  • All Implemented Interfaces:
    org.apache.calcite.rel.type.RelDataTypeSystem
    Enclosing class:
    FrameworksTest

    public static class FrameworksTest.HiveLikeTypeSystem
    extends org.apache.calcite.rel.type.RelDataTypeSystemImpl
    Dummy type system, similar to Hive's, accessed via an INSTANCE member.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.calcite.rel.type.RelDataTypeSystem INSTANCE  
      • Fields inherited from interface org.apache.calcite.rel.type.RelDataTypeSystem

        DEFAULT
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private HiveLikeTypeSystem()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMaxNumericPrecision()  
      • Methods inherited from class org.apache.calcite.rel.type.RelDataTypeSystemImpl

        allowExtendedTrim, deriveAvgAggType, deriveCovarType, deriveFractionalRankType, deriveRankType, deriveSumType, getDefaultPrecision, getLiteral, getMaxNumericScale, getMaxPrecision, getMaxScale, getNumTypeRadix, isAutoincrement, isCaseSensitive, isSchemaCaseSensitive, shouldConvertRaggedUnionTypesToVarying
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.calcite.rel.type.RelDataTypeSystem

        deriveDecimalDivideType, deriveDecimalModType, deriveDecimalMultiplyType, deriveDecimalPlusType, shouldUseDoubleMultiplication
    • Field Detail

      • INSTANCE

        public static final org.apache.calcite.rel.type.RelDataTypeSystem INSTANCE
    • Constructor Detail

      • HiveLikeTypeSystem

        private HiveLikeTypeSystem()
    • Method Detail

      • getMaxNumericPrecision

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