Package com.j_spaces.jdbc.parser
Class ContainsItemsRootNode
java.lang.Object
com.j_spaces.jdbc.parser.ExpNode
com.j_spaces.jdbc.parser.ValueNode
com.j_spaces.jdbc.parser.LiteralNode
com.j_spaces.jdbc.parser.ContainsItemsRootNode
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable,Cloneable
node holding a root inside contains - points at a subtree of containItemNodes
- Since:
- 9.6
- Author:
- Yechiel Fefer
- See Also:
-
Field Summary
Fields inherited from class com.j_spaces.jdbc.parser.LiteralNode
valueFields inherited from class com.j_spaces.jdbc.parser.ExpNode
leftChild, rightChild, template -
Constructor Summary
ConstructorsConstructorDescriptionContainsItemsRootNode(Object containsSubs, String root, ColumnNode rootColumnNode) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(QueryTemplateBuilder builder) Accept the query builder Default implementation returns null - no QueryTemplatePacket is definedclone()Override the clone method.getRoot()booleanprepareTemplateValues(TreeMap values, String colName) PreparedNodes will set their values through this methods.voidprepareValues(Object[] values) PreparedNodes will set their values through this methods.voidvoidMethods inherited from class com.j_spaces.jdbc.parser.LiteralNode
getConvertedObject, getValue, isPreparedValue, setValue, toStringMethods inherited from class com.j_spaces.jdbc.parser.ValueNode
accept, isJoined, isValidCompare, newInstanceMethods inherited from class com.j_spaces.jdbc.parser.ExpNode
createIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isInnerQuery, reverse, setLeftChild, setRightChild, setTemplate, toString, traverse, traverseReverse, validateInnerQueryResultMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
ContainsItemsRootNode
public ContainsItemsRootNode() -
ContainsItemsRootNode
-
-
Method Details
-
isContainsItemsRootNode
public boolean isContainsItemsRootNode()- Overrides:
isContainsItemsRootNodein classExpNode
-
getContainsSubtree
-
getRoot
-
getRootColumnNode
-
accept
Description copied from class:ExpNodeAccept the query builder Default implementation returns null - no QueryTemplatePacket is defined- Overrides:
acceptin classValueNode- Throws:
SQLException
-
prepareValues
Description copied from class:ExpNodePreparedNodes will set their values through this methods. this one just calls the prepareValues on the children- Overrides:
prepareValuesin classExpNode- Throws:
SQLException
-
prepareTemplateValues
Description copied from class:ExpNodePreparedNodes will set their values through this methods. this one just calls the prepareValues on the children. This method will be used only for SQLTemplate.- Overrides:
prepareTemplateValuesin classExpNode- Throws:
SQLException
-
clone
Description copied from class:ExpNodeOverride the clone method.- Overrides:
clonein classLiteralNode
-
createTypeDesc
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classLiteralNode- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classLiteralNode- Throws:
IOExceptionClassNotFoundException
-