Package com.j_spaces.jdbc.parser
Class InNode
java.lang.Object
com.j_spaces.jdbc.parser.ExpNode
com.j_spaces.jdbc.parser.AbstractInNode
com.j_spaces.jdbc.parser.InNode
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable,Cloneable
The InNode. it is used for cases of nested queries as part of a WHERE clause.
- Author:
- Michael Mitrani, 2Train4, 2004
- See Also:
-
Field Summary
Fields inherited from class com.j_spaces.jdbc.parser.AbstractInNode
valuesListFields 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 executorbooleanisJoined()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.AbstractInNode
clone, getConvertedValues, getValuesList, prepareValues, readExternal, setValuesList, validateInnerQueryResult, writeExternalMethods inherited from class com.j_spaces.jdbc.parser.ExpNode
createIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, isInnerQuery, prepareTemplateValues, reverse, setLeftChild, setRightChild, setTemplate, toString, traverse, traverseReverseMethods 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
-
InNode
public InNode()
-
-
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
-
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
Description copied from class:ExpNodeAccept the query builder Default implementation returns null - no QueryTemplatePacket is defined- Specified by:
acceptin classExpNode- Throws:
SQLException
-
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
-