T
- public class OSQLAsynchQuery<T> extends OSQLQuery<T> implements OCommandRequestAsynch
OSQLSynchQuery
cacheableResult, context, fetchPlan, limit, onAsyncReplicationError, onAsyncReplicationOk, parameters, progressListener, resultListener, timeoutMs, timeoutStrategy, useCache
Constructor and Description |
---|
OSQLAsynchQuery()
Empty constructor for unmarshalling.
|
OSQLAsynchQuery(String iText) |
OSQLAsynchQuery(String iText,
int iLimit,
OCommandResultListener iResultListener) |
OSQLAsynchQuery(String iText,
int iLimit,
String iFetchPlan,
Map<Object,Object> iArgs,
OCommandResultListener iResultListener) |
OSQLAsynchQuery(String iText,
OCommandResultListener iResultListener) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAsynchronous() |
boolean |
isIdempotent()
Sets default non idempotent to avoid custom query deadlocks database.
|
List<T> |
run(Object... iArgs)
Delegates to the OQueryExecutor the query execution.
|
deserializeQueryParameters, fromStream, getText, queryFromStream, queryToStream, runFirst, serializeQueryParameters, setText, toStream, toString
execute, getFetchPlan, reset, setFetchPlan
addExcludedNode, convertToParameters, getContext, getLimit, getOnAsyncReplicationError, getOnAsyncReplicationOk, getParameters, getProgressListener, getResultListener, getTimeoutStrategy, getTimeoutTime, isCacheableResult, isRecordResultSet, isUseCache, nodesToExclude, onAsyncReplicationError, onAsyncReplicationOk, removeExcludedNode, setCacheableResult, setContext, setLimit, setParameters, setProgressListener, setRecordResultSet, setResultListener, setTimeout, setUseCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getResultListener, setResultListener
getParameters, getProgressListener, getResultListener, isCacheableResult, isRecordResultSet, reset, setCacheableResult, setProgressListener, setRecordResultSet, setResultListener
execute, getContext, getFetchPlan, getLimit, getTimeoutStrategy, getTimeoutTime, setContext, setFetchPlan, setLimit, setTimeout, setUseCache
public OSQLAsynchQuery()
public OSQLAsynchQuery(String iText)
public OSQLAsynchQuery(String iText, OCommandResultListener iResultListener)
public OSQLAsynchQuery(String iText, int iLimit, String iFetchPlan, Map<Object,Object> iArgs, OCommandResultListener iResultListener)
public OSQLAsynchQuery(String iText, int iLimit, OCommandResultListener iResultListener)
public List<T> run(Object... iArgs)
OSQLQuery
public boolean isIdempotent()
isIdempotent
in interface OCommandRequest
isIdempotent
in class OQueryAbstract<T>
public boolean isAsynchronous()
isAsynchronous
in interface OCommandRequestAsynch
Copyright © 2009–2020 OrientDB. All rights reserved.