Package com.j_spaces.jdbc.parser
Class IsNullNode
java.lang.Object
com.j_spaces.jdbc.parser.ExpNode
com.j_spaces.jdbc.parser.IsNullNode
- All Implemented Interfaces:
SmartExternalizable,Externalizable,Serializable,Cloneable
This is the IS NULL operator Node. it can also represent an IS NOT NULL
- 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 definedbooleanisJoined()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 classvoidvoidsetNot(boolean isNot) toString()voidMethods inherited from class com.j_spaces.jdbc.parser.ExpNode
accept, clone, createIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, isInnerQuery, prepareTemplateValues, prepareValues, 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
-
IsNullNode
-
IsNullNode
public IsNullNode()
-
-
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
-
setNot
public void setNot(boolean isNot) - Parameters:
isNot- if true, this is a IS NOT NULL. otherwise it's IS NULL
-
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
-
toString
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classExpNode- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classExpNode- Throws:
IOExceptionClassNotFoundException
-