Package com.arcadedb.query.sql.parser
Class DeleteEdgeStatement
- java.lang.Object
-
- com.arcadedb.query.sql.parser.SimpleNode
-
- com.arcadedb.query.sql.parser.Statement
-
- com.arcadedb.query.sql.parser.DeleteEdgeStatement
-
- All Implemented Interfaces:
Node
- Direct Known Subclasses:
DeleteEdgeByRidStatement
,DeleteEdgeFromToStatement
,DeleteEdgeToStatement
,DeleteEdgeVToStatement
,DeleteEdgeWhereStatement
public class DeleteEdgeStatement extends Statement
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
leftExpression
protected Rid
rid
protected List<Rid>
rids
protected Expression
rightExpression
protected Identifier
targetBucketName
protected Identifier
typeName
protected WhereClause
whereClause
-
Fields inherited from class com.arcadedb.query.sql.parser.Statement
CUSTOM_STRICT_SQL, limit, originalStatement, originalStatementAsString, timeout
-
Fields inherited from class com.arcadedb.query.sql.parser.SimpleNode
cachedStringForm, children, value
-
-
Constructor Summary
Constructors Constructor Description DeleteEdgeStatement(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteEdgeStatement
copy()
DeleteExecutionPlan
createExecutionPlan(CommandContext context)
creates an execution plan for current statement, with profiling disabledboolean
equals(Object o)
ResultSet
execute(Database db, Object[] args, CommandContext parentcontext, boolean usePlanCache)
ResultSet
execute(Database db, Map params, CommandContext parentcontext, boolean usePlanCache)
Expression
getLeftExpression()
Rid
getRid()
List<Rid>
getRids()
Expression
getRightExpression()
Identifier
getTargetBucketName()
Identifier
getTypeName()
WhereClause
getWhereClause()
int
hashCode()
void
toString(Map<String,Object> params, StringBuilder builder)
-
Methods inherited from class com.arcadedb.query.sql.parser.Statement
createExecutionPlanNoCache, execute, execute, execute, execute, execute, execute, executionPlanCanBeCached, getLimit, getOriginalStatement, getTimeout, isDDL, isIdempotent, refersToParent, setLimit, setOriginalStatement, setTimeout, toString, validate
-
Methods inherited from class com.arcadedb.query.sql.parser.SimpleNode
getCacheableElements, getIdentityElements, getValue, isCacheable, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString
-
-
-
-
Field Detail
-
typeName
protected Identifier typeName
-
targetBucketName
protected Identifier targetBucketName
-
rid
protected Rid rid
-
leftExpression
protected Expression leftExpression
-
rightExpression
protected Expression rightExpression
-
whereClause
protected WhereClause whereClause
-
-
Method Detail
-
execute
public ResultSet execute(Database db, Map params, CommandContext parentcontext, boolean usePlanCache)
-
execute
public ResultSet execute(Database db, Object[] args, CommandContext parentcontext, boolean usePlanCache)
-
createExecutionPlan
public DeleteExecutionPlan createExecutionPlan(CommandContext context)
Description copied from class:Statement
creates an execution plan for current statement, with profiling disabled- Overrides:
createExecutionPlan
in classStatement
- Parameters:
context
- the context that will be used to execute the statement- Returns:
- an execution plan
-
toString
public void toString(Map<String,Object> params, StringBuilder builder)
-
copy
public DeleteEdgeStatement copy()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classSimpleNode
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classSimpleNode
-
getTypeName
public Identifier getTypeName()
-
getTargetBucketName
public Identifier getTargetBucketName()
-
getRid
public Rid getRid()
-
getWhereClause
public WhereClause getWhereClause()
-
getLeftExpression
public Expression getLeftExpression()
-
getRightExpression
public Expression getRightExpression()
-
-