public class OUpdateStatement extends OStatement
Modifier and Type | Field and Description |
---|---|
OLimit |
limit |
OStorage.LOCKING_STRATEGY |
lockRecord |
protected List<OUpdateOperations> |
operations |
protected boolean |
returnAfter |
protected boolean |
returnBefore |
protected boolean |
returnCount |
protected OProjection |
returnProjection |
OFromClause |
target |
OTimeout |
timeout |
protected boolean |
upsert |
OWhereClause |
whereClause |
CUSTOM_STRICT_SQL, originalStatement
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OUpdateStatement(int id) |
OUpdateStatement(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
OUpdateStatement |
copy() |
OUpdateExecutionPlan |
createExecutionPlan(OCommandContext ctx,
boolean enableProfiling)
creates an execution plan for current statement
|
boolean |
equals(Object o) |
OResultSet |
execute(ODatabase db,
Map params,
OCommandContext parentCtx) |
OResultSet |
execute(ODatabase db,
Object[] args,
OCommandContext parentCtx) |
OLimit |
getLimit() |
OStorage.LOCKING_STRATEGY |
getLockRecord() |
List<OUpdateOperations> |
getOperations() |
OProjection |
getReturnProjection() |
protected String |
getStatementType() |
OFromClause |
getTarget() |
OTimeout |
getTimeout() |
OWhereClause |
getWhereClause() |
int |
hashCode() |
boolean |
isReturnAfter() |
boolean |
isReturnBefore() |
boolean |
isReturnCount() |
boolean |
isUpsert() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, executinPlanCanBeCached, getOriginalStatement, isIdempotent, jjtAccept, refersToParent, serialize, setOriginalStatement, toString, validate
childrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
public OFromClause target
protected List<OUpdateOperations> operations
protected boolean upsert
protected boolean returnBefore
protected boolean returnAfter
protected boolean returnCount
protected OProjection returnProjection
public OWhereClause whereClause
public OStorage.LOCKING_STRATEGY lockRecord
public OLimit limit
public OTimeout timeout
public OUpdateStatement(int id)
public OUpdateStatement(OrientSql p, int id)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
protected String getStatementType()
public OUpdateStatement copy()
copy
in class OStatement
public OResultSet execute(ODatabase db, Object[] args, OCommandContext parentCtx)
execute
in class OStatement
public OResultSet execute(ODatabase db, Map params, OCommandContext parentCtx)
execute
in class OStatement
public OUpdateExecutionPlan createExecutionPlan(OCommandContext ctx, boolean enableProfiling)
OStatement
createExecutionPlan
in class OStatement
ctx
- the context that will be used to execute the statementenableProfiling
- true to enable profiling, false to disable itpublic OFromClause getTarget()
public List<OUpdateOperations> getOperations()
public boolean isUpsert()
public boolean isReturnBefore()
public boolean isReturnAfter()
public boolean isReturnCount()
public OProjection getReturnProjection()
public OWhereClause getWhereClause()
public OStorage.LOCKING_STRATEGY getLockRecord()
public OLimit getLimit()
public OTimeout getTimeout()
Copyright © 2009–2019 OrientDB. All rights reserved.