Package com.arcadedb.query.sql.parser
Class CreatePropertyStatement
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.Statement
-
- com.arcadedb.query.sql.parser.DDLStatement
-
- com.arcadedb.query.sql.parser.CreatePropertyStatement
-
- All Implemented Interfaces:
Node
public class CreatePropertyStatement extends DDLStatement
-
-
Field Summary
Fields Modifier and Type Field Description List<CreatePropertyAttributeStatement>
attributes
Identifier
linkedType
Identifier
propertyName
Identifier
propertyType
Identifier
typeName
boolean
unsafe
-
Fields inherited from class com.arcadedb.query.sql.parser.Statement
CUSTOM_STRICT_SQL, limit, originalStatement, timeout
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
children, firstToken, id, lastToken, parent, parser, value
-
-
Constructor Summary
Constructors Constructor Description CreatePropertyStatement(int id)
CreatePropertyStatement(SqlParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatePropertyStatement
copy()
boolean
equals(Object o)
ResultSet
executeDDL(CommandContext ctx)
int
hashCode()
void
toString(Map<String,Object> params, StringBuilder builder)
-
Methods inherited from class com.arcadedb.query.sql.parser.DDLStatement
createExecutionPlan, execute, execute
-
Methods inherited from class com.arcadedb.query.sql.parser.Statement
createExecutionPlan, createExecutionPlanNoCache, deserialize, deserializeFromOResult, execute, execute, execute, execute, execute, execute, executionPlanCanBeCached, getLimit, getOriginalStatement, getTimeout, isDDL, isIdempotent, refersToParent, serialize, setLimit, setOriginalStatement, setTimeout, toString, validate
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
childrenAccept, dump, getValue, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
-
-
-
-
Field Detail
-
typeName
public Identifier typeName
-
propertyName
public Identifier propertyName
-
propertyType
public Identifier propertyType
-
linkedType
public Identifier linkedType
-
unsafe
public boolean unsafe
-
attributes
public List<CreatePropertyAttributeStatement> attributes
-
-
Constructor Detail
-
CreatePropertyStatement
public CreatePropertyStatement(int id)
-
CreatePropertyStatement
public CreatePropertyStatement(SqlParser p, int id)
-
-
Method Detail
-
executeDDL
public ResultSet executeDDL(CommandContext ctx)
- Specified by:
executeDDL
in classDDLStatement
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
-
copy
public CreatePropertyStatement copy()
-
-