public abstract class OCommandExecutorAbstract extends OBaseParser implements OCommandExecutor
Modifier and Type | Field and Description |
---|---|
protected OCommandContext |
context |
protected int |
limit |
protected Map<Object,Object> |
parameters |
protected OProgressListener |
progressListener |
parserText, parserTextUpperCase
Constructor and Description |
---|
OCommandExecutorAbstract() |
getLastWordLength, getSyntax, 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, throwSyntaxErrorException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
execute, getSyntax, isIdempotent, parse
protected OProgressListener progressListener
protected int limit
protected OCommandContext context
public static ODatabaseDocumentInternal getDatabase()
public OCommandExecutorAbstract init(OCommandRequestText iRequest)
public OProgressListener getProgressListener()
public <RET extends OCommandExecutor> RET setProgressListener(OProgressListener progressListener)
OCommandExecutor
setProgressListener
in interface OCommandExecutor
progressListener
- OProgressListener implementationpublic String getUndoCommand()
public long getDistributedTimeout()
getDistributedTimeout
in interface OCommandExecutor
public int getLimit()
public <RET extends OCommandExecutor> RET setLimit(int iLimit)
setLimit
in interface OCommandExecutor
public Map<Object,Object> getParameters()
getParameters
in interface OCommandExecutor
public String getFetchPlan()
getFetchPlan
in interface OCommandExecutor
public OCommandContext getContext()
getContext
in interface OCommandExecutor
public void setContext(OCommandContext iContext)
setContext
in interface OCommandExecutor
public Set<String> getInvolvedClusters()
OCommandExecutor
getInvolvedClusters
in interface OCommandExecutor
public int getSecurityOperationType()
OCommandExecutor
getSecurityOperationType
in interface OCommandExecutor
PERMISSION_*
public boolean involveSchema()
involveSchema
in interface OCommandExecutor
protected boolean checkInterruption()
public static boolean checkInterruption(OCommandContext iContext)
public OCommandDistributedReplicateRequest.DISTRIBUTED_RESULT_MGMT getDistributedResultManagement()
public boolean isLocalExecution()
OCommandExecutor
isLocalExecution
in interface OCommandExecutor
public boolean isCacheable()
OCommandExecutor
isCacheable
in interface OCommandExecutor
public Object mergeResults(Map<String,Object> results) throws Exception
mergeResults
in interface OCommandExecutor
Exception
public boolean isDistributedExecutingOnLocalNodeFirst()
Copyright © 2009–2020 OrientDB. All rights reserved.