Class RexBuilderTest.MySqlTypeFactoryImpl

  • All Implemented Interfaces:
    org.apache.calcite.rel.type.RelDataTypeFactory
    Enclosing class:
    RexBuilderTest

    private static class RexBuilderTest.MySqlTypeFactoryImpl
    extends org.apache.calcite.sql.type.SqlTypeFactoryImpl
    MySqlTypeFactoryImpl provides a specific implementation of SqlTypeFactoryImpl which sets precision to 256 for VARCHAR.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.calcite.rel.type.RelDataTypeFactoryImpl

        org.apache.calcite.rel.type.RelDataTypeFactoryImpl.JavaType
      • Nested classes/interfaces inherited from interface org.apache.calcite.rel.type.RelDataTypeFactory

        org.apache.calcite.rel.type.RelDataTypeFactory.Builder, org.apache.calcite.rel.type.RelDataTypeFactory.FieldInfo, org.apache.calcite.rel.type.RelDataTypeFactory.FieldInfoBuilder
    • Field Summary

      • Fields inherited from class org.apache.calcite.rel.type.RelDataTypeFactoryImpl

        typeSystem
    • Constructor Summary

      Constructors 
      Constructor Description
      MySqlTypeFactoryImpl​(org.apache.calcite.rel.type.RelDataTypeSystem typeSystem)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.rel.type.RelDataType createTypeWithNullability​(org.apache.calcite.rel.type.RelDataType type, boolean nullable)  
      • Methods inherited from class org.apache.calcite.sql.type.SqlTypeFactoryImpl

        canonize, createArrayType, createMapType, createMultisetType, createSqlIntervalType, createSqlType, createSqlType, createSqlType, createTypeWithCharsetAndCollation, createUnknownType, leastRestrictive
      • Methods inherited from class org.apache.calcite.rel.type.RelDataTypeFactoryImpl

        builder, canonize, canonize, copyType, createDecimalProduct, createDecimalQuotient, createJavaType, createJoinType, createStructType, createStructType, createStructType, createStructType, decimalOf, getDefaultCharset, getTypeSystem, isJavaType, leastRestrictiveStructuredType, useDoubleMultiplication
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MySqlTypeFactoryImpl

        MySqlTypeFactoryImpl​(org.apache.calcite.rel.type.RelDataTypeSystem typeSystem)
    • Method Detail

      • createTypeWithNullability

        public org.apache.calcite.rel.type.RelDataType createTypeWithNullability​(org.apache.calcite.rel.type.RelDataType type,
                                                                                 boolean nullable)
        Specified by:
        createTypeWithNullability in interface org.apache.calcite.rel.type.RelDataTypeFactory
        Overrides:
        createTypeWithNullability in class org.apache.calcite.sql.type.SqlTypeFactoryImpl