Class RelDataTypeFactoryImpl.JavaType

    • Field Detail

      • clazz

        private final java.lang.Class clazz
      • nullable

        private final boolean nullable
      • charset

        private java.nio.charset.Charset charset
    • Constructor Detail

      • JavaType

        public JavaType​(java.lang.Class clazz)
      • JavaType

        public JavaType​(java.lang.Class clazz,
                        boolean nullable)
      • JavaType

        public JavaType​(java.lang.Class clazz,
                        boolean nullable,
                        java.nio.charset.Charset charset,
                        SqlCollation collation)
    • Method Detail

      • getJavaClass

        public java.lang.Class getJavaClass()
      • getFamily

        public RelDataTypeFamily getFamily()
        Description copied from interface: RelDataType
        Gets a canonical object representing the family of this type. Two values can be compared if and only if their types are in the same family.
        Specified by:
        getFamily in interface RelDataType
        getFamily in class RelDataTypeImpl
        canonical object representing type family
      • generateTypeString

        protected void generateTypeString​(java.lang.StringBuilder sb,
                                          boolean withDetail)
        Description copied from class: RelDataTypeImpl
        Generates a string representation of this type.
        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;
      • getCharset

        public java.nio.charset.Charset getCharset()
        Description copied from interface: RelDataType
        Gets this type's character set, or null if this type cannot carry a character set or has no character set defined.
        Specified by:
        getCharset in interface RelDataType
        getCharset in class RelDataTypeImpl
        charset of type