
public class OCommandExecutorToOStatementWrapper extends Object implements OCommandExecutor
| Modifier and Type | Field and Description |
|---|---|
protected OSQLAsynchQuery<ODocument> |
request |
protected OStatement |
statement |
| Constructor and Description |
|---|
OCommandExecutorToOStatementWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Map<Object,Object> iArgs)
Execute the requested command parsed previously.
|
OCommandContext |
getContext() |
static ODatabaseDocumentInternal |
getDatabase() |
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) |
OCommandExecutorToOStatementWrapper |
parse(OCommandRequest iCommand)
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.
|
protected OSQLAsynchQuery<ODocument> request
protected OStatement statement
public OCommandExecutorToOStatementWrapper parse(OCommandRequest iCommand)
OCommandExecutorparse in interface OCommandExecutoriCommand - Command request implementation.#execute(Mappublic static ODatabaseDocumentInternal getDatabase()
public Object execute(Map<Object,Object> iArgs)
OCommandExecutorexecute in interface OCommandExecutoriArgs - Optional variable arguments to pass to the command.OCommandExecutor.parse(OCommandRequest)public <RET extends OCommandExecutor> RET setProgressListener(OProgressListener progressListener)
OCommandExecutorsetProgressListener in interface OCommandExecutorprogressListener - OProgressListener implementationpublic <RET extends OCommandExecutor> RET setLimit(int iLimit)
setLimit in interface OCommandExecutorpublic String getFetchPlan()
getFetchPlan in interface OCommandExecutorpublic Map<Object,Object> getParameters()
getParameters in interface OCommandExecutorpublic OCommandContext getContext()
getContext in interface OCommandExecutorpublic void setContext(OCommandContext context)
setContext in interface OCommandExecutorpublic boolean isIdempotent()
OCommandExecutorisIdempotent in interface OCommandExecutorpublic Set<String> getInvolvedClusters()
OCommandExecutorgetInvolvedClusters in interface OCommandExecutorpublic int getSecurityOperationType()
OCommandExecutorgetSecurityOperationType in interface OCommandExecutorPERMISSION_*public boolean involveSchema()
involveSchema in interface OCommandExecutorpublic String getSyntax()
getSyntax in interface OCommandExecutorpublic boolean isLocalExecution()
OCommandExecutorisLocalExecution in interface OCommandExecutorpublic boolean isCacheable()
OCommandExecutorisCacheable in interface OCommandExecutorpublic long getDistributedTimeout()
getDistributedTimeout in interface OCommandExecutorpublic Object mergeResults(Map<String,Object> results) throws Exception
mergeResults in interface OCommandExecutorExceptionCopyright © 2009–2025 OrientDB. All rights reserved.