
T - Record type to return.public abstract class OSQLQuery<T> extends OQueryAbstract<T> implements OCommandRequestText
| Modifier and Type | Field and Description |
|---|---|
protected String |
text |
cacheableResult, context, fetchPlan, limit, onAsyncReplicationError, onAsyncReplicationOk, parameters, progressListener, resultListener, timeoutMs, timeoutStrategy, useCache| Modifier and Type | Method and Description |
|---|---|
protected Map<Object,Object> |
deserializeQueryParameters(byte[] paramBuffer,
ORecordSerializer serializer) |
OCommandRequestText |
fromStream(byte[] iStream,
ORecordSerializer serializer) |
String |
getText() |
protected void |
queryFromStream(OMemoryStream buffer,
ORecordSerializer serializer) |
protected OMemoryStream |
queryToStream() |
List<T> |
run(Object... iArgs)
Delegates to the OQueryExecutor the query execution.
|
T |
runFirst(Object... iArgs)
Returns only the first record if any.
|
protected byte[] |
serializeQueryParameters(Map<Object,Object> params) |
OCommandRequestText |
setText(String iText) |
byte[] |
toStream() |
String |
toString() |
execute, getFetchPlan, isIdempotent, reset, setFetchPlanaddExcludedNode, 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, setUseCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, getProgressListener, getResultListener, isCacheableResult, isRecordResultSet, reset, setCacheableResult, setProgressListener, setRecordResultSet, setResultListenerexecute, getContext, getFetchPlan, getLimit, getTimeoutStrategy, getTimeoutTime, isIdempotent, setContext, setFetchPlan, setLimit, setTimeout, setUseCacheprotected String text
public OSQLQuery()
public OSQLQuery(String iText)
public String getText()
getText in interface OCommandRequestTextpublic OCommandRequestText setText(String iText)
setText in interface OCommandRequestTextpublic OCommandRequestText fromStream(byte[] iStream, ORecordSerializer serializer) throws OSerializationException
fromStream in interface OCommandRequestTextOSerializationExceptionpublic byte[] toStream()
throws OSerializationException
toStream in interface OCommandRequestTextOSerializationExceptionprotected OMemoryStream queryToStream()
protected void queryFromStream(OMemoryStream buffer, ORecordSerializer serializer)
protected Map<Object,Object> deserializeQueryParameters(byte[] paramBuffer, ORecordSerializer serializer)
Copyright © 2009–2025 OrientDB. All rights reserved.