public class InnerQueryNode extends LiteralNode
| Modifier and Type | Field and Description |
|---|---|
protected SelectQuery |
_innerQuery |
protected ResultEntry |
_results |
valueleftChild, 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, setValueaccept, isJoined, isValidCompare, newInstancecreateIndex, createJoinIndex, forEachChild, getLeftChild, getRightChild, getTemplate, isContainsItemNode, isContainsItemsRootNode, prepareTemplateValues, prepareValues, reverse, setLeftChild, setRightChild, setTemplate, toString, traverse, traverseReverse, validateInnerQueryResultequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferenceprotected 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 LiteralNodepublic void accept(IQueryExecutor executor, ISpaceProxy space, Transaction txn, int readModifier, int max) throws SQLException
ExpNodeaccept in class ValueNodeSQLExceptionpublic Object getConvertedObject(ITypeDesc typeDesc, String propertyName) throws SQLException
LiteralNodegetConvertedObject in class LiteralNodeSQLExceptionpublic Object clone()
ExpNodeclone in class LiteralNodepublic boolean isInnerQuery()
ExpNodeisInnerQuery in class ExpNodepublic String toString()
toString in class LiteralNodepublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class LiteralNodeIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class LiteralNodeIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.