|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xquery.AnalyzeContextInfo
public class 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. |
Expression |
getContextStep()
|
int |
getFlags()
Returns the processing flags. |
Expression |
getParent()
Returns the parent of the current expression. |
int |
getStaticType()
|
void |
removeFlag(int flag)
|
void |
setContextId(int contextId)
|
void |
setContextStep(Expression step)
|
void |
setFlags(int flags)
Sets the processing flags to be passed to a child expression. |
void |
setParent(Expression parent)
|
void |
setStaticType(int staticType)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, 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)
public int getStaticType()
public void setStaticType(int staticType)
public void setContextStep(Expression step)
public Expression getContextStep()
public String toString()
toString
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |