|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.bop.CoreBaseBOp
com.bigdata.bop.ModifiableBOpBase
com.bigdata.rdf.sparql.ast.ASTBase
com.bigdata.rdf.sparql.ast.QueryNodeBase
com.bigdata.rdf.sparql.ast.QueryBase
com.bigdata.rdf.sparql.ast.QueryRoot
public class QueryRoot
The top-level Query.
DatasetNode,
IGroupNode,
ProjectionNode,
GroupByNode,
HavingNode,
OrderByNode,
SliceNode,
Serialized Form| Nested Class Summary | |
|---|---|
static interface |
QueryRoot.Annotations
|
| Field Summary |
|---|
| Fields inherited from class com.bigdata.bop.CoreBaseBOp |
|---|
DEFAULT_INITIAL_CAPACITY |
| Fields inherited from interface com.bigdata.bop.BOp |
|---|
NOANNS, NOARGS |
| Constructor Summary | |
|---|---|
QueryRoot(BOp[] args,
Map<String,Object> anns)
|
|
QueryRoot(QueryRoot queryRoot)
Deep copy constructor. |
|
QueryRoot(QueryType queryType)
|
|
| Method Summary | |
|---|---|
BindingsClause |
getBindingsClause()
Return the BINDINGS. |
DatasetNode |
getDataset()
Return the dataset. |
NamedSubqueriesNode |
getNamedSubqueries()
Return the node for the named subqueries -or- null if there
it does not exist. |
NamedSubqueriesNode |
getNamedSubqueriesNotNull()
Return the node for the named subqueries. |
Map<String,String> |
getPrefixDecls()
The namespace prefix declarations map. |
void |
setBindingsClause(BindingsClause bindings)
Set the BINDINGS. |
void |
setDataset(DatasetNode dataset)
Set the dataset. |
void |
setNamedSubqueries(NamedSubqueriesNode namedSubqueries)
Set or clear the named subqueries node. |
void |
setParent(IGroupNode<?> parent)
This is a root node. |
void |
setPrefixDecls(Map<String,String> prefixDecls)
Set the namespace prefix declarations map. |
String |
toString(int indent)
Pretty print with an indent. |
| Methods inherited from class com.bigdata.rdf.sparql.ast.QueryBase |
|---|
getConstruct, getGraphPattern, getGroupBy, getHaving, getIncludeInferred, getOrderBy, getProjectedVars, getProjection, getQueryType, getSelectExprVars, getSlice, getTimeout, getWhereClause, hasSlice, hasWhereClause, setConstruct, setGraphPattern, setGroupBy, setHaving, setIncludeInferred, setOrderBy, setProjection, setQueryType, setSlice, setTimeout, setWhereClause |
| Methods inherited from class com.bigdata.rdf.sparql.ast.QueryNodeBase |
|---|
toString |
| Methods inherited from class com.bigdata.rdf.sparql.ast.ASTBase |
|---|
getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHints, replaceAllWith, setQueryHint, setQueryHints |
| Methods inherited from class com.bigdata.bop.ModifiableBOpBase |
|---|
addArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, mutation, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArray |
| Methods inherited from class com.bigdata.bop.CoreBaseBOp |
|---|
annotationsEqual, annotationsToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, toShortString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QueryRoot(QueryRoot queryRoot)
queryRoot -
public QueryRoot(BOp[] args,
Map<String,Object> anns)
public QueryRoot(QueryType queryType)
| Method Detail |
|---|
public void setParent(IGroupNode<?> parent)
UnsupportedOperationExceptionpublic Map<String,String> getPrefixDecls()
IPrefixDeclsMap with
String keys (prefix) and String values (the uri
associated with that prefix).
getPrefixDecls in interface IPrefixDeclspublic void setPrefixDecls(Map<String,String> prefixDecls)
IPrefixDeclsMap with
String keys (prefix) and String values (the uri
associated with that prefix).
setPrefixDecls in interface IPrefixDeclspublic void setDataset(DatasetNode dataset)
IDataSetNode
setDataset in interface IDataSetNodepublic DatasetNode getDataset()
IDataSetNode
getDataset in interface IDataSetNodepublic NamedSubqueriesNode getNamedSubqueries()
null if there
it does not exist.
getNamedSubqueriesNotNull()public NamedSubqueriesNode getNamedSubqueriesNotNull()
QueryRoot and returned. This helps out
with what is otherwise an awkward conditional construction pattern.
public void setNamedSubqueries(NamedSubqueriesNode namedSubqueries)
namedSubqueries - The named subqueries not (may be null).getNamedSubqueriesNotNull()public void setBindingsClause(BindingsClause bindings)
bindings - public BindingsClause getBindingsClause()
public String toString(int indent)
IQueryNode
toString in interface IQueryNodetoString in class QueryBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||