|
||||||||||
| 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
public class ASTBase
Base class for the AST.
| Nested Class Summary | |
|---|---|
static interface |
ASTBase.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 | |
|---|---|
ASTBase(ASTBase op)
Required deep copy constructor. |
|
ASTBase(BOp[] args,
Map<String,Object> annotations)
Required shallow copy constructor. |
|
| Method Summary | |
|---|---|
String |
getQueryHint(String name)
Return the value of the query hint. |
String |
getQueryHint(String name,
String defaultValue)
Return the value of the query hint. |
boolean |
getQueryHintAsBoolean(String name,
boolean defaultValue)
Return the boolean value of the query hint. |
boolean |
getQueryHintAsBoolean(String name,
String defaultValue)
Return the boolean value of the query hint. |
Properties |
getQueryHints()
Return the query hints for this AST node. |
int |
replaceAllWith(BOp oldVal,
BOp newVal)
Replace all occurrences of the old value with the new value in both the arguments and annotations of this operator (recursive). |
void |
setQueryHint(String name,
String value)
Set a query hint. |
void |
setQueryHints(Properties queryHints)
Set the query hints. |
| 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, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ASTBase(ASTBase op)
public ASTBase(BOp[] args,
Map<String,Object> annotations)
| Method Detail |
|---|
public Properties getQueryHints()
null if none have been
declared.public String getQueryHint(String name)
name - The name of the query hint.
null if the query
hint is not defined.
public String getQueryHint(String name,
String defaultValue)
name - The name of the query hint.defaultValue - The default value to use if the query hint is not defined.
public boolean getQueryHintAsBoolean(String name,
String defaultValue)
name - The name of the query hint.defaultValue - The default value to use if the query hint is not defined.
public boolean getQueryHintAsBoolean(String name,
boolean defaultValue)
name - The name of the query hint.defaultValue - The default value to use if the query hint is not defined.public void setQueryHints(Properties queryHints)
queryHints - The query hints (may be null).QueryHints
public void setQueryHint(String name,
String value)
name - The property name for the query hint.value - The property value for the query hint.
public int replaceAllWith(BOp oldVal,
BOp newVal)
CoreBaseBOp.equals(Object).
oldVal - The old value.newVal - The new value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||