public class OProfileStatement extends OStatement
Modifier and Type | Field and Description |
---|---|
protected OStatement |
statement |
CUSTOM_STRICT_SQL, originalStatement
children, firstToken, id, lastToken, parent, parser, value
Constructor and Description |
---|
OProfileStatement(int id) |
OProfileStatement(OrientSql p,
int id) |
Modifier and Type | Method and Description |
---|---|
OProfileStatement |
copy() |
OInternalExecutionPlan |
createExecutionPlan(OCommandContext ctx,
boolean profile)
creates an execution plan for current statement
|
boolean |
equals(Object o) |
OResultSet |
execute(ODatabase db,
Map args,
OCommandContext parentCtx,
boolean usePlanCache) |
OResultSet |
execute(ODatabase db,
Object[] args,
OCommandContext parentCtx,
boolean usePlanCache) |
int |
hashCode() |
boolean |
isIdempotent() |
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, execute, execute, execute, execute, executinPlanCanBeCached, getOriginalStatement, 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 OStatement statement
public OProfileStatement(int id)
public OProfileStatement(OrientSql p, int id)
public void toString(Map<Object,Object> params, StringBuilder builder)
toString
in class OStatement
public OResultSet execute(ODatabase db, Object[] args, OCommandContext parentCtx, boolean usePlanCache)
execute
in class OStatement
public OResultSet execute(ODatabase db, Map args, OCommandContext parentCtx, boolean usePlanCache)
execute
in class OStatement
public OInternalExecutionPlan createExecutionPlan(OCommandContext ctx, boolean profile)
OStatement
createExecutionPlan
in class OStatement
ctx
- the context that will be used to execute the statementprofile
- true to enable profiling, false to disable itpublic OProfileStatement copy()
copy
in class OStatement
public boolean isIdempotent()
isIdempotent
in class OStatement
Copyright © 2009–2020 OrientDB. All rights reserved.