Class OCreateEdgeStatement
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.OStatement
com.orientechnologies.orient.core.sql.parser.OCreateEdgeStatement
- All Implemented Interfaces:
Node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OBatchprotected OInsertBodyprotected OExpressionprotected Numberprotected OExpressionprotected OIdentifierprotected OIdentifierprotected booleanprotected NumberFields inherited from class com.orientechnologies.orient.core.sql.parser.OStatement
CUSTOM_STRICT_SQL, originalStatementFields inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
children, firstToken, id, lastToken, PARAMETER_PLACEHOLDER, parent, parser, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()creates an execution plan for current statement, with profiling disabledbooleanbooleangetBatch()getBody()getRetry()getWait()inthashCode()booleanisUpsert()voidvoidsetBody(OInsertBody body) voidsetLeftExpression(OExpression leftExpression) voidvoidsetRightExpression(OExpression rightExpression) voidsetTargetClass(OIdentifier targetClass) voidsetTargetClusterName(OIdentifier targetClusterName) voidvoidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) Methods inherited from class com.orientechnologies.orient.core.sql.parser.OStatement
deserialize, deserializeFromOResult, execute, execute, execute, execute, getOriginalStatement, isIdempotent, refersToParent, resolvePlan, serialize, setOriginalStatement, toString, validateMethods inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
dump, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toGenericStatement, toString
-
Field Details
-
targetClass
-
targetClusterName
-
upsert
protected boolean upsert -
leftExpression
-
rightExpression
-
body
-
retry
-
wait
-
batch
-
-
Constructor Details
-
OCreateEdgeStatement
public OCreateEdgeStatement(int id) -
OCreateEdgeStatement
-
-
Method Details
-
createExecutionPlan
Description copied from class:OStatementcreates an execution plan for current statement, with profiling disabled- Overrides:
createExecutionPlanin classOStatement- Parameters:
ctx- the context that will be used to execute the statement- Returns:
- an execution plan
-
toString
- Overrides:
toStringin classOStatement
-
toGenericStatement
- Overrides:
toGenericStatementin classOStatement
-
executinPlanCanBeCached
public boolean executinPlanCanBeCached()- Overrides:
executinPlanCanBeCachedin classOStatement
-
copy
- Overrides:
copyin classOStatement
-
equals
-
hashCode
public int hashCode() -
getTargetClass
-
setTargetClass
-
getTargetClusterName
-
setTargetClusterName
-
getLeftExpression
-
setLeftExpression
-
getRightExpression
-
setRightExpression
-
getBody
-
setBody
-
getRetry
-
setRetry
-
getWait
-
setWait
-
getBatch
-
setBatch
-
isUpsert
public boolean isUpsert()
-