Class ODDLStatement
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.OStatement
com.orientechnologies.orient.core.sql.parser.ODDLStatement
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
OAlterClassStatement,OAlterClusterStatement,OAlterDatabaseStatement,OAlterPropertyStatement,OAlterSequenceStatement,OCreateClassStatement,OCreateClusterStatement,OCreateIndexStatement,OCreatePropertyStatement,OCreateViewStatement,ODropClassStatement,ODropClusterStatement,ODropIndexStatement,ODropPropertyStatement,ODropSequenceStatement,ODropViewStatement,OTruncateClassStatement,OTruncateClusterStatement
Created by luigidellaquila on 12/08/16.
-
Field Summary
Fields 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 TypeMethodDescriptioncreates an execution plan for current statement, with profiling disabledabstract OExecutionStreamprettyPrint(OPrintContext ctx) Methods inherited from class com.orientechnologies.orient.core.sql.parser.OStatement
copy, deserialize, deserializeFromOResult, execute, execute, execute, execute, executinPlanCanBeCached, getOriginalStatement, isIdempotent, refersToParent, resolvePlan, serialize, setOriginalStatement, toGenericStatement, toString, 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
-
Constructor Details
-
ODDLStatement
public ODDLStatement(int id) -
ODDLStatement
-
-
Method Details
-
executeDDL
-
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
-
prettyPrint
-