public class InnerQueryNode extends LiteralNode
Modifier and Type | Field and Description |
---|---|
protected SelectQuery |
_innerQuery |
protected ResultEntry |
_results |
value
leftChild, rightChild, template
Constructor and Description |
---|
InnerQueryNode() |
InnerQueryNode(SelectQuery innerQuery) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IQueryExecutor executor,
ISpaceProxy space,
Transaction txn,
int readModifier,
int max)
Accept the query executor
|
Object |
clone()
Override the clone method.
|
Object |
getConvertedObject(ITypeDesc typeDesc,
String propertyName)
Gets the node's object converted to the provided property's object type.
|
SelectQuery |
getInnerQuery() |
ResultEntry |
getResult() |
Object |
getSingleResult()
Gets the inner query's single result
|
Object |
getValue() |
boolean |
isEmptyResult()
Gets whether the result is empty
|
boolean |
isInnerQuery()
Gets whether this node has a child which is an inner query node
|
boolean |
isSingleColumnResult()
Gets whether the result only contains one column.
|
boolean |
isSingleResult()
Gets whether the result is a single value result
|
void |
readExternal(ObjectInput in) |
void |
setResults(ResultEntry resultEntry) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
isPreparedValue, setValue
accept, isJoined, isValidCompare, newInstance
createIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, prepareTemplateValues, prepareValues, reverse, setLeftChild, setRightChild, setTemplate, toString, traverse, traverseReverse, validateInnerQueryResult
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
enabledSmartExternalizableWithReference
protected SelectQuery _innerQuery
protected ResultEntry _results
public InnerQueryNode()
public InnerQueryNode(SelectQuery innerQuery)
public SelectQuery getInnerQuery()
public ResultEntry getResult()
public void setResults(ResultEntry resultEntry)
public boolean isSingleResult()
public boolean isEmptyResult()
public boolean isSingleColumnResult()
public Object getSingleResult()
public Object getValue()
getValue
in class LiteralNode
public void accept(IQueryExecutor executor, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
ExpNode
accept
in class ValueNode
SQLException
public Object getConvertedObject(ITypeDesc typeDesc, String propertyName) throws SQLException
LiteralNode
getConvertedObject
in class LiteralNode
SQLException
public Object clone()
ExpNode
clone
in class LiteralNode
public boolean isInnerQuery()
ExpNode
isInnerQuery
in class ExpNode
public String toString()
toString
in class LiteralNode
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class LiteralNode
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class LiteralNode
IOException
ClassNotFoundException
Copyright © GigaSpaces.