public interface OCommandExecutor
Modifier and Type | Method and Description |
---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the requested command parsed previously.
|
OCommandContext |
getContext() |
long |
getDistributedTimeout() |
String |
getFetchPlan() |
Set<String> |
getInvolvedClusters()
Returns the involved clusters.
|
Map<Object,Object> |
getParameters() |
int |
getSecurityOperationType()
Returns the security operation type use to check about security.
|
String |
getSyntax() |
boolean |
involveSchema() |
boolean |
isCacheable()
Returns true if the command results can be cached.
|
boolean |
isIdempotent()
Returns true if the command doesn't change the database, otherwise false.
|
boolean |
isLocalExecution()
Returns true if the command must be executed on local node on distributed configuration.
|
Object |
mergeResults(Map<String,Object> results) |
<RET extends OCommandExecutor> |
parse(OCommandRequest iRequest)
Parse the request.
|
void |
setContext(OCommandContext context) |
<RET extends OCommandExecutor> |
setLimit(int iLimit) |
<RET extends OCommandExecutor> |
setProgressListener(OProgressListener progressListener)
Set the listener invoked while the command is executing.
|
<RET extends OCommandExecutor> RET parse(OCommandRequest iRequest)
iRequest
- Command request implementation.#execute(Map
Object execute(Map<Object,Object> iArgs)
iArgs
- Optional variable arguments to pass to the command.parse(OCommandRequest)
<RET extends OCommandExecutor> RET setProgressListener(OProgressListener progressListener)
progressListener
- OProgressListener implementation<RET extends OCommandExecutor> RET setLimit(int iLimit)
String getFetchPlan()
OCommandContext getContext()
void setContext(OCommandContext context)
boolean isIdempotent()
int getSecurityOperationType()
PERMISSION_*
boolean involveSchema()
String getSyntax()
boolean isLocalExecution()
boolean isCacheable()
long getDistributedTimeout()
Copyright © 2009–2020 OrientDB. All rights reserved.