public class OCommandExecutorSQLExplain extends OCommandExecutorSQLDelegate
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE, OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT, OCommandDistributedReplicateRequest.QUORUM_TYPE
Modifier and Type | Field and Description |
---|---|
static String |
KEYWORD_EXPLAIN |
delegate
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_DATABASE, METADATA_INDEXMGR, METADATA_PREFIX, METADATA_SCHEMA, METADATA_STORAGE, preParsedStatement, timeoutMs, timeoutStrategy
context, limit, parameters, progressListener
parserText, parserTextUpperCase
Constructor and Description |
---|
OCommandExecutorSQLExplain() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the requested command parsed previously.
|
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.
|
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
|
boolean |
isCacheable()
Returns true if the command results can be cached.
|
OCommandExecutorSQLExplain |
parse(OCommandRequest iCommand)
Parse the request.
|
getContext, getDelegate, getDistributedTimeout, getFetchPlan, getInvolvedClusters, getSyntax, isIdempotent, toString
bindDefaultContextVariables, checkClusterAccess, decodeClassName, getInvolvedClustersOfClasses, getInvolvedClustersOfClusters, getInvolvedClustersOfIndex, parseLock, parseTimeout, preParse, throwParsingException, throwParsingException, throwSyntaxErrorException
checkInterruption, checkInterruption, getDatabase, getLimit, getParameters, getProgressListener, getSecurityOperationType, getUndoCommand, init, involveSchema, isDistributedExecutingOnLocalNodeFirst, isLocalExecution, mergeResults, setContext, setLimit, setProgressListener, upperCase
getLastWordLength, getWordStatic, nextWord, nextWord, parseOptionalWord, parserGetCurrentChar, parserGetCurrentPosition, parserGetLastSeparator, parserGetLastWord, parserGetPreviousPosition, parserGoBack, parserIsEnded, parserMoveCurrentPosition, parserNextChars, parserNextWord, parserNextWord, parserNextWord, parserOptionalKeyword, parserOptionalWord, parserRequiredKeyword, parserRequiredWord, parserRequiredWord, parserRequiredWord, parserSetCurrentPosition, parserSetEndOfText, parserSetLastSeparator, parserSkipWhiteSpaces
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUndoCommand, isDistributedExecutingOnLocalNodeFirst
public static final String KEYWORD_EXPLAIN
public OCommandExecutorSQLExplain parse(OCommandRequest iCommand)
OCommandExecutor
parse
in interface OCommandExecutor
parse
in class OCommandExecutorSQLDelegate
iCommand
- Command request implementation.#execute(Map
public Object execute(Map<Object,Object> iArgs)
OCommandExecutor
execute
in interface OCommandExecutor
execute
in class OCommandExecutorSQLDelegate
iArgs
- Optional variable arguments to pass to the command.OCommandExecutor.parse(OCommandRequest)
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
OCommandDistributedReplicateRequest
getQuorumType
in interface OCommandDistributedReplicateRequest
getQuorumType
in class OCommandExecutorSQLDelegate
public OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE getDistributedExecutionMode()
OCommandExecutorSQLAbstract
getDistributedExecutionMode
in interface OCommandDistributedReplicateRequest
getDistributedExecutionMode
in class OCommandExecutorSQLAbstract
public OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT getDistributedResultManagement()
OCommandDistributedReplicateRequest
getDistributedResultManagement
in interface OCommandDistributedReplicateRequest
getDistributedResultManagement
in class OCommandExecutorAbstract
public boolean isCacheable()
OCommandExecutor
isCacheable
in interface OCommandExecutor
isCacheable
in class OCommandExecutorSQLDelegate
Copyright © 2009–2020 OrientDB. All rights reserved.