
public class OCommandExecutorSQLHASyncCluster
extends com.orientechnologies.orient.core.sql.OCommandExecutorSQLAbstract
implements com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE, com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT, com.orientechnologies.orient.core.command.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, timeoutStrategy| Constructor and Description |
|---|
OCommandExecutorSQLHASyncCluster() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the SYNC CLUSTER.
|
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE |
getDistributedExecutionMode() |
long |
getDistributedTimeout() |
com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE |
getQuorumType() |
String |
getSyntax() |
OCommandExecutorSQLHASyncCluster |
parse(com.orientechnologies.orient.core.command.OCommandRequest iRequest) |
static Object |
replaceCluster(ODistributedAbstractPlugin dManager,
OServer serverInstance,
String databaseName,
String clusterName) |
static Object |
replaceCluster(OHazelcastPlugin dManager,
com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database,
OServer serverInstance,
String databaseName,
String clusterName) |
protected static long |
writeDatabaseChunk(String iNodeName,
int iChunkId,
ODistributedDatabaseChunk chunk,
FileOutputStream out) |
bindDefaultContextVariables, checkClusterAccess, decodeClassName, getInvolvedClustersOfClasses, getInvolvedClustersOfClusters, getInvolvedClustersOfIndex, isIdempotent, parseLock, parseTimeout, preParse, throwParsingException, throwParsingException, throwSyntaxErrorExceptioncheckInterruption, checkInterruption, getContext, getDatabase, getDistributedResultManagement, getFetchPlan, getInvolvedClusters, getLimit, getParameters, getProgressListener, getSecurityOperationType, getUndoCommand, init, involveSchema, isCacheable, isDistributedExecutingOnLocalNodeFirst, 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, parserRequiredWord, parserSetCurrentPosition, parserSetEndOfText, parserSetLastSeparator, parserSkipWhiteSpacespublic static final String NAME
public OCommandExecutorSQLHASyncCluster parse(com.orientechnologies.orient.core.command.OCommandRequest iRequest)
parse in interface com.orientechnologies.orient.core.command.OCommandExecutorpublic Object execute(Map<Object,Object> iArgs)
execute in interface com.orientechnologies.orient.core.command.OCommandExecutorpublic static Object replaceCluster(OHazelcastPlugin dManager, com.orientechnologies.orient.core.db.ODatabaseDocumentInternal database, OServer serverInstance, String databaseName, String clusterName) throws IOException
IOExceptionpublic static Object replaceCluster(ODistributedAbstractPlugin dManager, OServer serverInstance, String databaseName, String clusterName)
public com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.DISTRIBUTED_EXECUTION_MODE getDistributedExecutionMode()
getDistributedExecutionMode in interface com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequestgetDistributedExecutionMode in class com.orientechnologies.orient.core.sql.OCommandExecutorSQLAbstractpublic long getDistributedTimeout()
getDistributedTimeout in interface com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequestgetDistributedTimeout in interface com.orientechnologies.orient.core.command.OCommandExecutorgetDistributedTimeout in class com.orientechnologies.orient.core.command.OCommandExecutorAbstractpublic com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequest.QUORUM_TYPE getQuorumType()
getQuorumType in interface com.orientechnologies.orient.core.command.OCommandDistributedReplicateRequestpublic String getSyntax()
getSyntax in interface com.orientechnologies.orient.core.command.OCommandExecutorgetSyntax in class com.orientechnologies.common.parser.OBaseParserprotected static long writeDatabaseChunk(String iNodeName, int iChunkId, ODistributedDatabaseChunk chunk, FileOutputStream out) throws IOException
IOExceptionCopyright © 2009–2017 OrientDB. All rights reserved.