public class OInsertStatement extends OStatement
CUSTOM_STRICT_SQL, originalStatement
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OInsertStatement(int id) |
OInsertStatement(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
OInsertStatement |
copy() |
OInsertExecutionPlan |
createExecutionPlan(OCommandContext ctx,
boolean enableProfiling)
creates an execution plan for current statement
|
boolean |
equals(Object o) |
OResultSet |
execute(ODatabase db,
Map params,
OCommandContext parentCtx,
boolean usePlanCache) |
OResultSet |
execute(ODatabase db,
Object[] args,
OCommandContext parentCtx,
boolean usePlanCache) |
OInsertBody |
getInsertBody() |
OProjection |
getReturnStatement() |
OSelectStatement |
getSelectStatement() |
OIdentifier |
getTargetClass() |
OCluster |
getTargetCluster() |
OIdentifier |
getTargetClusterName() |
OIndexIdentifier |
getTargetIndex() |
int |
hashCode() |
boolean |
isSelectInParentheses() |
boolean |
isSelectWithFrom() |
boolean |
isUnsafe() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, execute, execute, execute, execute, executinPlanCanBeCached, 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
public OInsertStatement(int id)
public OInsertStatement(OrientSql p, int id)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
public OInsertStatement copy()
copy
in class OStatement
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 OIdentifier getTargetClass()
public OIdentifier getTargetClusterName()
public OCluster getTargetCluster()
public OIndexIdentifier getTargetIndex()
public OInsertBody getInsertBody()
public OProjection getReturnStatement()
public OSelectStatement getSelectStatement()
public boolean isSelectInParentheses()
public boolean isSelectWithFrom()
public boolean isUnsafe()
Copyright © 2009–2020 OrientDB. All rights reserved.