public class OCommandGremlinExecutor extends OCommandExecutorAbstract
context, limit, parameters, progressListener
parserText, parserTextUpperCase
Constructor and Description |
---|
OCommandGremlinExecutor() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the requested command parsed previously.
|
boolean |
isIdempotent()
Returns true if the command doesn't change the database, otherwise false.
|
<RET extends OCommandExecutor> |
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
public <RET extends OCommandExecutor> RET 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 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.