public class OCommandExecutorFunction extends OCommandExecutorAbstract
OCommandScript
Modifier and Type | Field and Description |
---|---|
protected OCommandFunction |
request |
context, limit, parameters, progressListener
parserText, parserTextUpperCase
Constructor and Description |
---|
OCommandExecutorFunction() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the requested command parsed previously.
|
Object |
executeInContext(OCommandContext iContext,
Map<Object,Object> iArgs) |
boolean |
isIdempotent()
Returns true if the command doesn't change the database, otherwise false.
|
OCommandExecutorFunction |
parse(OCommandRequest iRequest)
Parse the request.
|
protected void |
throwSyntaxErrorException(String iText)
Throws a syntax error exception.
|
checkInterruption, checkInterruption, getContext, getDatabase, getDistributedResultManagement, getDistributedTimeout, getFetchPlan, getInvolvedClusters, getLimit, getParameters, getProgressListener, getSecurityOperationType, getUndoCommand, init, involveSchema, isCacheable, isDistributedExecutingOnLocalNodeFirst, isLocalExecution, mergeResults, setContext, setLimit, setProgressListener, toString, upperCase
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSyntax
protected OCommandFunction request
public OCommandExecutorFunction parse(OCommandRequest iRequest)
OCommandExecutor
iRequest
- Command request implementation.#execute(Map
public Object execute(Map<Object,Object> iArgs)
OCommandExecutor
iArgs
- Optional variable arguments to pass to the command.OCommandExecutor.parse(OCommandRequest)
public Object executeInContext(OCommandContext iContext, Map<Object,Object> iArgs)
public boolean isIdempotent()
OCommandExecutor
protected void throwSyntaxErrorException(String iText)
OBaseParser
throwSyntaxErrorException
in class OBaseParser
iText
- Text about the problem.Copyright © 2009–2020 OrientDB. All rights reserved.