Class SqlOptionNode

java.lang.Object
org.apache.calcite.sql.SqlNode
org.apache.calcite.sql.AbstractSqlNode
org.apache.calcite.sql.SqlOptionNode
All Implemented Interfaces:
Cloneable

public class SqlOptionNode extends AbstractSqlNode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
     
    final String
     

    Fields inherited from class org.apache.calcite.sql.SqlNode

    EMPTY_ARRAY, pos
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqlOptionNode(org.apache.calcite.sql.parser.SqlParserPos pos, String propertyName, String value)
     
    SqlOptionNode(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlNode key, org.apache.calcite.sql.SqlIdentifier identifier)
     
    SqlOptionNode(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlNode key, org.apache.calcite.sql.SqlLiteral literal)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.calcite.sql.SqlNode
    clone(org.apache.calcite.sql.parser.SqlParserPos pos)
     
    boolean
    equalsDeep(org.apache.calcite.sql.SqlNode node, org.apache.calcite.util.Litmus litmus)
     
    void
    unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
     

    Methods inherited from class org.apache.calcite.sql.AbstractSqlNode

    accept, validate

    Methods inherited from class org.apache.calcite.sql.SqlNode

    clone, clone, cloneArray, equalDeep, equalDeep, equalsDeep, findValidOptions, getKind, getMonotonicity, getParserPosition, isA, toList, toList, toSqlString, toSqlString, toSqlString, toString, unparseWithParentheses, validateExpr

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • propertyName

      public final String propertyName
    • value

      public final String value
  • Constructor Details

    • SqlOptionNode

      public SqlOptionNode(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlNode key, org.apache.calcite.sql.SqlLiteral literal)
    • SqlOptionNode

      public SqlOptionNode(org.apache.calcite.sql.parser.SqlParserPos pos, org.apache.calcite.sql.SqlNode key, org.apache.calcite.sql.SqlIdentifier identifier)
    • SqlOptionNode

      public SqlOptionNode(org.apache.calcite.sql.parser.SqlParserPos pos, String propertyName, String value)
  • Method Details

    • unparse

      public void unparse(org.apache.calcite.sql.SqlWriter writer, int leftPrec, int rightPrec)
      Specified by:
      unparse in class org.apache.calcite.sql.SqlNode
    • equalsDeep

      public boolean equalsDeep(org.apache.calcite.sql.SqlNode node, org.apache.calcite.util.Litmus litmus)
      Specified by:
      equalsDeep in class org.apache.calcite.sql.SqlNode
    • clone

      public org.apache.calcite.sql.SqlNode clone(org.apache.calcite.sql.parser.SqlParserPos pos)
      Specified by:
      clone in class org.apache.calcite.sql.SqlNode