Class OCreateClassStatement
java.lang.Object
com.orientechnologies.orient.core.sql.parser.SimpleNode
com.orientechnologies.orient.core.sql.parser.OStatement
com.orientechnologies.orient.core.sql.parser.ODDLStatement
com.orientechnologies.orient.core.sql.parser.OCreateClassStatement
- All Implemented Interfaces:
Node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanCluster IDs for this classbooleanClass nameprotected List<OIdentifier>Direct superclasses for this classprotected OIntegerTotal number clusters for this classFields 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 TypeMethodDescriptionvoidaddCluster(OInteger id) voidaddSuperclass(OIdentifier identifier) copy()booleaninthashCode()voidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) Methods inherited from class com.orientechnologies.orient.core.sql.parser.ODDLStatement
createExecutionPlan, execute, executeMethods inherited from class com.orientechnologies.orient.core.sql.parser.OStatement
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, execute, execute, execute, execute, executinPlanCanBeCached, getOriginalStatement, isIdempotent, refersToParent, serialize, setOriginalStatement, toString, validateMethods inherited from class com.orientechnologies.orient.core.sql.parser.SimpleNode
dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toGenericStatement, toString
-
Field Details
-
name
Class name -
ifNotExists
public boolean ifNotExists -
superclasses
Direct superclasses for this class -
clusters
Cluster IDs for this class -
totalClusterNo
Total number clusters for this class -
abstractClass
protected boolean abstractClass
-
-
Constructor Details
-
OCreateClassStatement
public OCreateClassStatement(int id) -
OCreateClassStatement
-
-
Method Details
-
executeDDL
- Specified by:
executeDDLin classODDLStatement
-
toString
- Overrides:
toStringin classOStatement
-
toGenericStatement
- Overrides:
toGenericStatementin classOStatement
-
copy
- Overrides:
copyin classOStatement
-
equals
-
hashCode
public int hashCode() -
getSuperclasses
-
addSuperclass
-
addCluster
-