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(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 |
setResults(ResultEntry resultEntry) |
String |
toString() |
isPreparedValue, setValue
accept, isJoined, isValidCompare, newInstance
createIndex, createJoinIndex, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, prepareTemplateValues, prepareValues, setLeftChild, setRightChild, setTemplate, toString, validateInnerQueryResult
protected SelectQuery _innerQuery
protected ResultEntry _results
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
Copyright © GigaSpaces.