|
||||||||||
| 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. |
|
AnalyzeContextInfo(XQueryContext context)
|
|
| Method Summary | |
|---|---|
void |
addFlag(int flag)
|
XQueryContext |
getContext()
|
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 |
getStaticReturnType()
|
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 |
setStaticReturnType(int type)
|
void |
setStaticType(int staticType)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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 - public AnalyzeContextInfo(XQueryContext context)
| Method Detail |
|---|
public XQueryContext getContext()
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 int getStaticReturnType()
public void setStaticReturnType(int type)
public void setContextStep(Expression step)
public Expression getContextStep()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||