Class OAlterClassStatement
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.OAlterClassStatement
- All Implemented Interfaces:
Node
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected Stringprotected OIntegerprotected OIdentifierprotected List<OIdentifier>protected OIdentifierprotected OIdentifierthe name of the classprotected ONumberthe class property to be alteredprotected Booleanprotected booleanFields 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 TypeMethodDescriptionvoidcopy()booleaninthashCode()voidsetAllocation(OAllocation allocation) voidtoGenericStatement(StringBuilder builder) voidtoString(Map<Object, Object> params, StringBuilder builder) Methods inherited from class com.orientechnologies.orient.core.sql.parser.ODDLStatement
createExecutionPlan, prettyPrintMethods inherited from class com.orientechnologies.orient.core.sql.parser.OStatement
deserialize, deserializeFromOResult, execute, execute, execute, execute, executinPlanCanBeCached, 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
-
name
the name of the class -
property
the class property to be altered -
identifierValue
-
identifierListValue
-
add
-
remove
-
numberValue
-
booleanValue
-
customKey
-
customValue
-
defaultClusterId
-
defaultClusterName
-
customString
-
unsafe
protected boolean unsafe
-
-
Constructor Details
-
OAlterClassStatement
public OAlterClassStatement(int id) -
OAlterClassStatement
-
-
Method Details
-
addIdentifierListValue
-
toString
- Overrides:
toStringin classOStatement
-
toGenericStatement
- Overrides:
toGenericStatementin classOStatement
-
copy
- Overrides:
copyin classOStatement
-
equals
-
hashCode
public int hashCode() -
executeDDL
- Specified by:
executeDDLin classODDLStatement
-
getAllocation
-
setAllocation
-