Class AbstractNode

java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
ConditionalExpression, Expression, Statement

public abstract class AbstractNode extends Object implements Node
Abstract implementation of Node.
  • Field Details

  • Method Details

    • getNodeType

      public ExpressionType getNodeType()
      Gets the node type of this Expression.
    • getType

      public Type getType()
      Gets the static type of the expression that this Expression represents.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • accept

      public void accept(org.apache.calcite.linq4j.tree.ExpressionWriter writer)
      Specified by:
      accept in interface Node
    • accept

      public Node accept(Shuttle shuttle)
      Specified by:
      accept in interface Node
    • evaluate

      public @Nullable Object evaluate(org.apache.calcite.linq4j.tree.Evaluator evaluator)
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object