Class LiteralNode
java.lang.Object
com.j_spaces.jdbc.parser.ExpNode
com.j_spaces.jdbc.parser.ValueNode
com.j_spaces.jdbc.parser.LiteralNode
- All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Cloneable
- Direct Known Subclasses:
ContainsItemsRootNode, InnerQueryNode, PreparedNode
This is the Literal node. it holds an object which is the value of the condition
- Author:
- Michael Mitrani, 2Train4, 2004
- See Also:
-
Field Summary
FieldsFields inherited from class ExpNode
leftChild, rightChild, template -
Constructor Summary
ConstructorsConstructorDescriptionLiteralNode(Object value) LiteralNode(String left, String op, Integer right) -
Method Summary
Methods inherited from class ValueNode
accept, accept, isJoined, isValidCompare, newInstanceMethods inherited from class ExpNode
createIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, isInnerQuery, prepareTemplateValues, prepareValues, reverse, setLeftChild, setRightChild, setTemplate, toString, traverse, traverseReverse, validateInnerQueryResultMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
value
-
-
Constructor Details
-
LiteralNode
public LiteralNode() -
LiteralNode
-
LiteralNode
-
-
Method Details
-
getValue
-
setValue
-
isPreparedValue
public boolean isPreparedValue() -
toString
-
getConvertedObject
Gets the node's object converted to the provided property's object type.- Throws:
SQLException
-
clone
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classExpNode- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classExpNode- Throws:
IOExceptionClassNotFoundException
-