
public class OCommandExecutorSQLDeleteVertex extends OCommandExecutorSQLAbstract implements OCommandDistributedReplicateRequest, OCommandResultListener
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE, OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT, OCommandDistributedReplicateRequest.QUORUM_TYPE| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
CLASS_PREFIX, CLUSTER_PREFIX, DEFAULT_PARAM_USER, DICTIONARY_PREFIX, INDEX_PREFIX, INDEX_VALUES_ASC_PREFIX, INDEX_VALUES_DESC_PREFIX, INDEX_VALUES_PREFIX, KEYWORD_FROM, KEYWORD_KEY, KEYWORD_LET, KEYWORD_LIMIT, KEYWORD_LOCK, KEYWORD_OFFSET, KEYWORD_RETURN, KEYWORD_RID, KEYWORD_SKIP, KEYWORD_TIMEOUT, KEYWORD_UNSAFE, KEYWORD_WHERE, METADATA_INDEXMGR, METADATA_PREFIX, METADATA_SCHEMA, preParsedStatement, timeoutMs, timeoutStrategycontext, limit, parameters, progressListenerparserText, parserTextUpperCase| Constructor and Description |
|---|
OCommandExecutorSQLDeleteVertex() |
| Modifier and Type | Method and Description |
|---|---|
void |
end()
Called at the end of processing.
|
Object |
execute(Map<Object,Object> iArgs)
Execute the command and return the ODocument object created.
|
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE |
getDistributedExecutionMode()
The command is replicated
|
OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT |
getDistributedResultManagement()
Returns how to manage the distributed result between:
CHECK_FOR_EQUALS: all results must be the same
MERGE: merges results.
|
long |
getDistributedTimeout()
Returns the distributed timeout in milliseconds.
|
Set<String> |
getInvolvedClusters()
Returns the involved clusters.
|
OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType()
Returns the quorum type for the command:
NONE: no quorum
READ: configured Read quorum
WRITE: configured Write quorum
ALL: all nodes
|
Object |
getResult() |
int |
getSecurityOperationType()
Returns the security operation type use to check about security.
|
String |
getSyntax() |
OCommandExecutorSQLDeleteVertex |
parse(OCommandRequest iRequest)
Parse the request.
|
protected String |
parseReturn()
Parses the returning keyword if found.
|
boolean |
result(Object iRecord)
Delete the current vertex.
|
<RET extends OCommandExecutor> |
setLimit(int iLimit)
setLimit() for DELETE VERTEX is ignored.
|
bindDefaultContextVariables, checkClusterAccess, decodeClassName, getInvolvedClustersOfClasses, getInvolvedClustersOfClusters, getInvolvedClustersOfIndex, isIdempotent, parseLock, parseTimeout, preParse, throwParsingException, throwParsingException, throwSyntaxErrorExceptioncheckInterruption, checkInterruption, getContext, getDatabase, getFetchPlan, getLimit, getParameters, getProgressListener, getUndoCommand, init, involveSchema, isCacheable, isDistributedExecutingOnLocalNodeFirst, isLocalExecution, mergeResults, setContext, setProgressListener, toString, upperCasegetLastWordLength, getWordStatic, nextWord, nextWord, parseOptionalWord, parserGetCurrentChar, parserGetCurrentPosition, parserGetLastSeparator, parserGetLastWord, parserGetPreviousPosition, parserGoBack, parserIsEnded, parserMoveCurrentPosition, parserNextChars, parserNextWord, parserNextWord, parserNextWord, parserOptionalKeyword, parserOptionalWord, parserRequiredKeyword, parserRequiredWord, parserRequiredWord, parserRequiredWord, parserRequiredWord, parserSetCurrentPosition, parserSetEndOfText, parserSetLastSeparator, parserSkipWhiteSpacesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUndoCommand, isDistributedExecutingOnLocalNodeFirstpublic static final String NAME
public OCommandExecutorSQLDeleteVertex parse(OCommandRequest iRequest)
OCommandExecutorparse in interface OCommandExecutoriRequest - Command request implementation.#execute(Mappublic Object execute(Map<Object,Object> iArgs)
execute in interface OCommandExecutoriArgs - Optional variable arguments to pass to the command.OCommandExecutor.parse(OCommandRequest)public boolean result(Object iRecord)
result in interface OCommandResultListeneriRecord - Current recordpublic long getDistributedTimeout()
OCommandDistributedReplicateRequestgetDistributedTimeout in interface OCommandDistributedReplicateRequestgetDistributedTimeout in interface OCommandExecutorgetDistributedTimeout in class OCommandExecutorAbstractpublic String getSyntax()
getSyntax in interface OCommandExecutorgetSyntax in class OBaseParserpublic void end()
OCommandResultListenerend in interface OCommandResultListenerpublic int getSecurityOperationType()
OCommandExecutorgetSecurityOperationType in interface OCommandExecutorgetSecurityOperationType in class OCommandExecutorAbstractPERMISSION_*protected String parseReturn() throws OCommandSQLParsingException
OCommandSQLParsingExceptionpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
OCommandDistributedReplicateRequestgetQuorumType in interface OCommandDistributedReplicateRequestpublic OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT getDistributedResultManagement()
OCommandDistributedReplicateRequestgetDistributedResultManagement in interface OCommandDistributedReplicateRequestgetDistributedResultManagement in class OCommandExecutorAbstractpublic Set<String> getInvolvedClusters()
OCommandExecutorgetInvolvedClusters in interface OCommandExecutorgetInvolvedClusters in class OCommandExecutorAbstractpublic Object getResult()
getResult in interface OCommandResultListenerpublic OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE getDistributedExecutionMode()
OCommandExecutorSQLAbstractgetDistributedExecutionMode in interface OCommandDistributedReplicateRequestgetDistributedExecutionMode in class OCommandExecutorSQLAbstractpublic <RET extends OCommandExecutor> RET setLimit(int iLimit)
setLimit in interface OCommandExecutorsetLimit in class OCommandExecutorAbstractCopyright © 2009–2025 OrientDB. All rights reserved.