
public class OCommandExecutorSQLCreateClass extends OCommandExecutorSQLAbstract implements OCommandDistributedReplicateRequest
OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE, OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT, OCommandDistributedReplicateRequest.QUORUM_TYPE| Modifier and Type | Field and Description |
|---|---|
static String |
KEYWORD_ABSTRACT |
static String |
KEYWORD_CLASS |
static String |
KEYWORD_CLUSTER |
static String |
KEYWORD_CLUSTERS |
static String |
KEYWORD_CREATE |
static String |
KEYWORD_EXISTS |
static String |
KEYWORD_EXTENDS |
static String |
KEYWORD_IF |
static String |
KEYWORD_NOT |
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, timeoutStrategycontext, limit, parameters, progressListenerparserText, parserTextUpperCase| Constructor and Description |
|---|
OCommandExecutorSQLCreateClass() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the CREATE CLASS.
|
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.
|
boolean |
involveSchema() |
boolean |
isDistributedExecutingOnLocalNodeFirst()
Returns true if the command is executed on local node first and then distributed, or false if
it's executed to all the servers at the same time.
|
OCommandExecutorSQLCreateClass |
parse(OCommandRequest iRequest)
Parse the request.
|
bindDefaultContextVariables, checkClusterAccess, decodeClassName, getDistributedExecutionMode, getInvolvedClustersOfClasses, getInvolvedClustersOfClusters, getInvolvedClustersOfIndex, isIdempotent, parseLock, parseTimeout, preParse, throwParsingException, throwParsingException, throwSyntaxErrorExceptioncheckInterruption, checkInterruption, getContext, getDatabase, getDistributedResultManagement, getFetchPlan, getInvolvedClusters, getLimit, getParameters, getProgressListener, getSecurityOperationType, init, isCacheable, isLocalExecution, mergeResults, setContext, setLimit, 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, parserSetCurrentPosition, parserSetEndOfText, parserSetLastSeparator, parserSkipWhiteSpacesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDistributedExecutionMode, getDistributedResultManagementpublic static final String KEYWORD_CREATE
public static final String KEYWORD_CLASS
public static final String KEYWORD_EXTENDS
public static final String KEYWORD_ABSTRACT
public static final String KEYWORD_CLUSTER
public static final String KEYWORD_CLUSTERS
public static final String KEYWORD_IF
public static final String KEYWORD_NOT
public static final String KEYWORD_EXISTS
public OCommandExecutorSQLCreateClass parse(OCommandRequest iRequest)
OCommandExecutorparse in interface OCommandExecutoriRequest - Command request implementation.#execute(Mappublic long getDistributedTimeout()
OCommandDistributedReplicateRequestgetDistributedTimeout in interface OCommandDistributedReplicateRequestgetDistributedTimeout in interface OCommandExecutorgetDistributedTimeout in class OCommandExecutorAbstractpublic boolean isDistributedExecutingOnLocalNodeFirst()
OCommandDistributedReplicateRequestisDistributedExecutingOnLocalNodeFirst in interface OCommandDistributedReplicateRequestisDistributedExecutingOnLocalNodeFirst in class OCommandExecutorAbstractpublic OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
OCommandDistributedReplicateRequestgetQuorumType in interface OCommandDistributedReplicateRequestpublic Object execute(Map<Object,Object> iArgs)
execute in interface OCommandExecutoriArgs - Optional variable arguments to pass to the command.OCommandExecutor.parse(OCommandRequest)public String getSyntax()
getSyntax in interface OCommandExecutorgetSyntax in class OBaseParserpublic String getUndoCommand()
OCommandDistributedReplicateRequestgetUndoCommand in interface OCommandDistributedReplicateRequestgetUndoCommand in class OCommandExecutorAbstractpublic boolean involveSchema()
involveSchema in interface OCommandExecutorinvolveSchema in class OCommandExecutorAbstractCopyright © 2009–2025 OrientDB. All rights reserved.