Class OCommandRequestTextAbstract
java.lang.Object
com.orientechnologies.orient.core.command.OCommandRequestAbstract
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract
- All Implemented Interfaces:
OCommandRequest,OCommandRequestInternal,OCommandRequestText
- Direct Known Subclasses:
OCommandFunction,OCommandGremlin,OCommandScript,OCommandSQL
public abstract class OCommandRequestTextAbstract
extends OCommandRequestAbstract
implements OCommandRequestText
Text based Command Request abstract class.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.command.OCommandRequestAbstract
cacheableResult, context, fetchPlan, limit, parameters, progressListener, resultListener, timeoutMs, timeoutStrategy, useCache -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
Modifier and TypeMethodDescription<RET> RETDelegates the execution to the configured command executor.fromStream(byte[] iStream, ORecordSerializer serializer) protected voidfromStream(OMemoryStream buffer, ORecordSerializer serializer) getText()byte[]toStream()protected byte[]toStream(OMemoryStream buffer) toString()Methods inherited from class com.orientechnologies.orient.core.command.OCommandRequestAbstract
addExcludedNode, convertToParameters, getContext, getFetchPlan, getLimit, getParameters, getProgressListener, getResultListener, getTimeoutStrategy, getTimeoutTime, isCacheableResult, isRecordResultSet, isUseCache, removeExcludedNode, reset, setCacheableResult, setContext, setFetchPlan, setLimit, setParameters, setProgressListener, setRecordResultSet, setResultListener, setTimeout, setUseCacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.command.OCommandRequest
getContext, getFetchPlan, getLimit, getTimeoutStrategy, getTimeoutTime, isIdempotent, setContext, setFetchPlan, setLimit, setTimeout, setUseCacheMethods inherited from interface com.orientechnologies.orient.core.command.OCommandRequestInternal
getParameters, getProgressListener, getResultListener, isCacheableResult, isRecordResultSet, reset, setCacheableResult, setProgressListener, setRecordResultSet, setResultListener
-
Field Details
-
text
-
-
Constructor Details
-
OCommandRequestTextAbstract
protected OCommandRequestTextAbstract() -
OCommandRequestTextAbstract
-
-
Method Details
-
execute
Delegates the execution to the configured command executor.- Specified by:
executein interfaceOCommandRequest
-
getText
- Specified by:
getTextin interfaceOCommandRequestText
-
setText
- Specified by:
setTextin interfaceOCommandRequestText
-
fromStream
public OCommandRequestText fromStream(byte[] iStream, ORecordSerializer serializer) throws OSerializationException - Specified by:
fromStreamin interfaceOCommandRequestText- Throws:
OSerializationException
-
toStream
- Specified by:
toStreamin interfaceOCommandRequestText- Throws:
OSerializationException
-
toString
-
toStream
-
fromStream
-