Class ValueNode

java.lang.Object
com.j_spaces.jdbc.parser.ExpNode
com.j_spaces.jdbc.parser.ValueNode
All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Cloneable
Direct Known Subclasses:
ColumnNode, LiteralNode, RowNumNode

public class ValueNode extends ExpNode
This is a parent class for the ColumnNode and the LiteralNodes. it represents nodes in the expression tree that have no children
Author:
Michael Mitrani, 2Train4, 2004
See Also:
  • Constructor Details

    • ValueNode

      public ValueNode()
  • Method Details

    • isValidCompare

      public boolean isValidCompare(Object ob1, Object ob2)
      Description copied from class: ExpNode
      Operator nodes implement this method to return whether two objects satisfy the given condition.
      Specified by:
      isValidCompare in class ExpNode
      Returns:
      true if the two given objects satisfy the condition
    • clone

      public Object clone()
      Description copied from class: ExpNode
      Override the clone method.
      Overrides:
      clone in class ExpNode
    • isJoined

      public boolean isJoined()
      Description copied from class: ExpNode
      is there somewhere in the tree a join condition.
      Overrides:
      isJoined in class ExpNode
    • newInstance

      public ExpNode newInstance()
      Description copied from class: ExpNode
      Prototype method - Create new instance of the class
      Specified by:
      newInstance in class ExpNode
    • accept

      public void accept(IQueryExecutor executor, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
      Description copied from class: ExpNode
      Accept the query executor
      Overrides:
      accept in class ExpNode
      Throws:
      SQLException
    • accept

      public void accept(QueryTemplateBuilder builder) throws SQLException
      Description copied from class: ExpNode
      Accept the query builder Default implementation returns null - no QueryTemplatePacket is defined
      Specified by:
      accept in class ExpNode
      Throws:
      SQLException