Class SqlOperatorBaseTest.ValueType

  • Enclosing class:

    static class SqlOperatorBaseTest.ValueType
    extends java.lang.Object
    A type, a value, and its SqlNode representation.
    • Field Summary

      Modifier and Type Field Description
      (package private) org.apache.calcite.sql.SqlNode node  
      (package private) org.apache.calcite.rel.type.RelDataType type  
      (package private) java.lang.Object value  
    • Constructor Summary

      Constructor Description
      ValueType​(org.apache.calcite.rel.type.RelDataType type, java.lang.Object value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.apache.calcite.sql.SqlNode literal​(org.apache.calcite.rel.type.RelDataType type, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • type

        final org.apache.calcite.rel.type.RelDataType type
      • value

        final java.lang.Object value
      • node

        final org.apache.calcite.sql.SqlNode node
    • Constructor Detail

      • ValueType

        ValueType​(org.apache.calcite.rel.type.RelDataType type,
                  java.lang.Object value)
    • Method Detail

      • literal

        private org.apache.calcite.sql.SqlNode literal​(org.apache.calcite.rel.type.RelDataType type,
                                                       java.lang.Object value)