|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.xquery.AnalyzeContextInfo
Holds context information and execution hints for XQuery expressions.
Instances of this class are passed to Expression.analyze(AnalyzeContextInfo)
during the analysis phase of the query.
| Constructor Summary | |
AnalyzeContextInfo()
|
|
AnalyzeContextInfo(AnalyzeContextInfo other)
Create a new object as a clone of other. |
|
AnalyzeContextInfo(Expression parent,
int flags)
Create a new AnalyzeContextInfo using the given parent and flags. |
|
| Method Summary | |
void |
addFlag(int flag)
|
int |
getContextId()
Returns the current context id. |
int |
getFlags()
Returns the processing flags. |
Expression |
getParent()
Returns the parent of the current expression. |
void |
removeFlag(int flag)
|
void |
setContextId(int contextId)
|
void |
setFlags(int flags)
Sets the processing flags to be passed to a child expression. |
void |
setParent(Expression parent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AnalyzeContextInfo()
public AnalyzeContextInfo(Expression parent,
int flags)
parent - the parent expression which calls this methodflags - int value containing a set of flags. See the constants defined
in this class.public AnalyzeContextInfo(AnalyzeContextInfo other)
other - | Method Detail |
public int getContextId()
public void setContextId(int contextId)
public int getFlags()
public void setFlags(int flags)
flags - public void addFlag(int flag)
public void removeFlag(int flag)
public Expression getParent()
public void setParent(Expression parent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||