|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xquery.AbstractExpression
org.exist.xquery.update.Modification
Field Summary |
Fields inherited from interface org.exist.xquery.Expression |
DOT_TEST, EXPRESSION_ID_INVALID, IGNORE_CONTEXT, IN_PREDICATE, IN_UPDATE, IN_WHERE_CLAUSE, NO_CONTEXT_ID, SINGLE_STEP_EXECUTION |
Constructor Summary | |
Modification(XQueryContext context,
Expression select,
Expression value)
|
Method Summary | |
void |
analyze(AnalyzeContextInfo contextInfo)
Statically analyze the expression and its subexpressions. |
void |
commitTransaction(Txn transaction)
Commit's the transaction for the update unless it is a batch update and then the commit is defered |
int |
getCardinality()
The default cardinality is Cardinality.EXACTLY_ONE . |
Txn |
getTransaction()
Gets the Transaction to use for the update (can be batch or individual) |
void |
resetState()
Called to inform an expression that it should reset to its initial state. |
int |
returnsType()
The static return type of the expression. |
Methods inherited from class org.exist.xquery.AbstractExpression |
accept, eval, eval, getASTNode, getContextDocSet, getContextId, getDependencies, getExpressionId, setASTNode, setContextDocSet, setPrimaryAxis |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.exist.xquery.Expression |
dump |
Constructor Detail |
public Modification(XQueryContext context, Expression select, Expression value)
context
- Method Detail |
public int getCardinality()
AbstractExpression
Cardinality.EXACTLY_ONE
.
getCardinality
in interface Expression
getCardinality
in class AbstractExpression
public int returnsType()
Expression
Type
. If the return type cannot be determined
statically, return Type.ITEM.
returnsType
in interface Expression
returnsType
in class AbstractExpression
public void resetState()
Expression
resetState
in interface Expression
resetState
in class AbstractExpression
public void analyze(AnalyzeContextInfo contextInfo) throws XPathException
Expression
XPathException
public Txn getTransaction()
public void commitTransaction(Txn transaction) throws TransactionException
transaction
- The Transaction to commit
TransactionException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |