Package com.j_spaces.jdbc.parser
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
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:
-
Field Summary
Fields inherited from class com.j_spaces.jdbc.parser.ExpNode
leftChild, rightChild, template -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(QueryTemplateBuilder builder) Accept the query builder Default implementation returns null - no QueryTemplatePacket is definedvoidaccept(IQueryExecutor executor, ISpaceProxy space, Transaction txn, int readModifier, int max) Accept the query executorclone()Override the clone method.booleanisJoined()is there somewhere in the tree a join condition.booleanisValidCompare(Object ob1, Object ob2) Operator nodes implement this method to return whether two objects satisfy the given condition.Prototype method - Create new instance of the classMethods inherited from class com.j_spaces.jdbc.parser.ExpNode
createIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, isInnerQuery, prepareTemplateValues, prepareValues, readExternal, reverse, setLeftChild, setRightChild, setTemplate, toString, traverse, traverseReverse, validateInnerQueryResult, writeExternalMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
ValueNode
public ValueNode()
-
-
Method Details
-
isValidCompare
Description copied from class:ExpNodeOperator nodes implement this method to return whether two objects satisfy the given condition.- Specified by:
isValidComparein classExpNode- Returns:
- true if the two given objects satisfy the condition
-
clone
Description copied from class:ExpNodeOverride the clone method. -
isJoined
public boolean isJoined()Description copied from class:ExpNodeis there somewhere in the tree a join condition. -
newInstance
Description copied from class:ExpNodePrototype method - Create new instance of the class- Specified by:
newInstancein classExpNode
-
accept
public void accept(IQueryExecutor executor, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException Description copied from class:ExpNodeAccept the query executor- Overrides:
acceptin classExpNode- Throws:
SQLException
-
accept
Description copied from class:ExpNodeAccept the query builder Default implementation returns null - no QueryTemplatePacket is defined- Specified by:
acceptin classExpNode- Throws:
SQLException
-