public final class OCommandRequest extends Object implements OBinaryRequest<OCommandResponse>
| Constructor and Description |
|---|
OCommandRequest() |
OCommandRequest(ODatabaseDocumentInternal database,
boolean asynch,
OCommandRequestText iCommand,
boolean live) |
| Modifier and Type | Method and Description |
|---|---|
OCommandResponse |
createResponse() |
OBinaryResponse |
execute(OBinaryRequestExecutor executor) |
byte |
getCommand() |
String |
getDescription() |
OCommandRequestText |
getQuery() |
boolean |
isAsynch() |
boolean |
isLive() |
void |
read(OChannelDataInput channel,
int protocolVersion,
ORecordSerializer serializer) |
void |
write(OChannelDataOutput network,
OStorageRemoteSession session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrequireDatabaseSession, requiredServerRole, requireServerUserpublic OCommandRequest(ODatabaseDocumentInternal database, boolean asynch, OCommandRequestText iCommand, boolean live)
public OCommandRequest()
public void write(OChannelDataOutput network, OStorageRemoteSession session) throws IOException
write in interface OBinaryRequest<OCommandResponse>IOExceptionpublic void read(OChannelDataInput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
read in interface OBinaryRequest<OCommandResponse>IOExceptionpublic byte getCommand()
getCommand in interface OBinaryRequest<OCommandResponse>public String getDescription()
getDescription in interface OBinaryRequest<OCommandResponse>public OCommandRequestText getQuery()
public boolean isAsynch()
public boolean isLive()
public OCommandResponse createResponse()
createResponse in interface OBinaryRequest<OCommandResponse>public OBinaryResponse execute(OBinaryRequestExecutor executor)
execute in interface OBinaryRequest<OCommandResponse>Copyright © 2009–2025 OrientDB. All rights reserved.