public class OCommandExecutorSQLCreateProperty extends OCommandExecutorSQLAbstract implements OCommandDistributedReplicateRequest
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE, OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT, OCommandDistributedReplicateRequest.QUORUM_TYPE
Modifier and Type | Field and Description |
---|---|
static String |
KEYWORD_CREATE |
static String |
KEYWORD_DEFAULT |
static String |
KEYWORD_MANDATORY |
static String |
KEYWORD_MAX |
static String |
KEYWORD_MIN |
static String |
KEYWORD_NOTNULL |
static String |
KEYWORD_PROPERTY |
static String |
KEYWORD_READONLY |
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 |
---|
OCommandExecutorSQLCreateProperty() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the CREATE PROPERTY.
|
long |
getDistributedTimeout()
Returns the distributed timeout in milliseconds.
|
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
|
String |
getSyntax() |
String |
getUndoCommand()
Returns the undo command if any.
|
OCommandExecutorSQLCreateProperty |
parse(OCommandRequest iRequest)
Parse the request.
|
bindDefaultContextVariables, checkClusterAccess, decodeClassName, getDistributedExecutionMode, getInvolvedClustersOfClasses, getInvolvedClustersOfClusters, getInvolvedClustersOfIndex, isIdempotent, parseLock, parseTimeout, preParse, throwParsingException, throwParsingException, throwSyntaxErrorException
checkInterruption, checkInterruption, getContext, getDatabase, getDistributedResultManagement, getFetchPlan, getInvolvedClusters, getLimit, getParameters, getProgressListener, getSecurityOperationType, init, involveSchema, isCacheable, isDistributedExecutingOnLocalNodeFirst, isLocalExecution, mergeResults, setContext, setLimit, setProgressListener, toString, 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
getDistributedExecutionMode, getDistributedResultManagement, isDistributedExecutingOnLocalNodeFirst
public static final String KEYWORD_CREATE
public static final String KEYWORD_PROPERTY
public static final String KEYWORD_MANDATORY
public static final String KEYWORD_READONLY
public static final String KEYWORD_NOTNULL
public static final String KEYWORD_MIN
public static final String KEYWORD_MAX
public static final String KEYWORD_DEFAULT
public OCommandExecutorSQLCreateProperty parse(OCommandRequest iRequest)
OCommandExecutor
parse
in interface OCommandExecutor
iRequest
- Command request implementation.#execute(Map
public long getDistributedTimeout()
OCommandDistributedReplicateRequest
getDistributedTimeout
in interface OCommandDistributedReplicateRequest
getDistributedTimeout
in interface OCommandExecutor
getDistributedTimeout
in class OCommandExecutorAbstract
public Object execute(Map<Object,Object> iArgs)
execute
in interface OCommandExecutor
iArgs
- Optional variable arguments to pass to the command.OCommandExecutor.parse(OCommandRequest)
public OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
OCommandDistributedReplicateRequest
getQuorumType
in interface OCommandDistributedReplicateRequest
public String getUndoCommand()
OCommandDistributedReplicateRequest
getUndoCommand
in interface OCommandDistributedReplicateRequest
getUndoCommand
in class OCommandExecutorAbstract
public String getSyntax()
getSyntax
in interface OCommandExecutor
getSyntax
in class OBaseParser
Copyright © 2009–2020 OrientDB. All rights reserved.