public class OCreateEdgeStatement extends OStatement
Modifier and Type | Field and Description |
---|---|
protected OBatch |
batch |
protected OInsertBody |
body |
protected OExpression |
leftExpression |
protected Number |
retry |
protected OExpression |
rightExpression |
protected OIdentifier |
targetClass |
protected OIdentifier |
targetClusterName |
protected boolean |
upsert |
protected Number |
wait |
CUSTOM_STRICT_SQL, originalStatement
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OCreateEdgeStatement(int id) |
OCreateEdgeStatement(OrientSql p,
int id) |
createExecutionPlan, deserialize, deserializeFromOResult, execute, execute, execute, execute, execute, execute, execute, getOriginalStatement, isIdempotent, refersToParent, serialize, setOriginalStatement, toString, validate
childrenAccept, dump, getDatabase, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
protected OIdentifier targetClass
protected OIdentifier targetClusterName
protected boolean upsert
protected OExpression leftExpression
protected OExpression rightExpression
protected OInsertBody body
protected Number retry
protected Number wait
protected OBatch batch
public OCreateEdgeStatement(int id)
public OCreateEdgeStatement(OrientSql p, int id)
public OResultSet execute(ODatabase db, Object[] args, OCommandContext parentCtx, boolean usePlanCache)
execute
in class OStatement
public OResultSet execute(ODatabase db, Map params, OCommandContext parentCtx, boolean usePlanCache)
execute
in class OStatement
public OInsertExecutionPlan 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 OInsertExecutionPlan createExecutionPlanNoCache(OCommandContext ctx, boolean enableProfiling)
createExecutionPlanNoCache
in class OStatement
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
public boolean executinPlanCanBeCached()
executinPlanCanBeCached
in class OStatement
public OCreateEdgeStatement copy()
copy
in class OStatement
public OIdentifier getTargetClass()
public void setTargetClass(OIdentifier targetClass)
public OIdentifier getTargetClusterName()
public void setTargetClusterName(OIdentifier targetClusterName)
public OExpression getLeftExpression()
public void setLeftExpression(OExpression leftExpression)
public OExpression getRightExpression()
public void setRightExpression(OExpression rightExpression)
public OInsertBody getBody()
public void setBody(OInsertBody body)
public Number getRetry()
public void setRetry(Number retry)
public Number getWait()
public void setWait(Number wait)
public OBatch getBatch()
public void setBatch(OBatch batch)
public boolean isUpsert()
Copyright © 2009–2020 OrientDB. All rights reserved.