public final class OCommandResponse extends Object implements OBinaryResponse
Constructor and Description |
---|
OCommandResponse(boolean asynch,
OCommandResultListener listener,
ODatabaseDocumentInternal database,
boolean live) |
OCommandResponse(Object result,
SimpleValueFetchPlanCommandListener listener,
boolean isRecordResultSet,
boolean async,
ODatabaseDocumentInternal database,
OCommandRequestText command,
Map<Object,Object> params) |
Modifier and Type | Method and Description |
---|---|
Object |
getResult() |
void |
read(OChannelDataInput network,
OStorageRemoteSession session) |
protected Object |
readSynchResult(OChannelDataInput network,
ODatabaseDocument database,
List<ORecord> temporaryResults) |
void |
serializeValue(OChannelDataOutput channel,
SimpleValueFetchPlanCommandListener listener,
Object result,
boolean load,
boolean isRecordResultSet,
int protocolVersion,
ORecordSerializer recordSerializer) |
void |
write(OChannelDataOutput channel,
int protocolVersion,
ORecordSerializer serializer) |
public OCommandResponse(Object result, SimpleValueFetchPlanCommandListener listener, boolean isRecordResultSet, boolean async, ODatabaseDocumentInternal database, OCommandRequestText command, Map<Object,Object> params)
public OCommandResponse(boolean asynch, OCommandResultListener listener, ODatabaseDocumentInternal database, boolean live)
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
write
in interface OBinaryResponse
IOException
public void serializeValue(OChannelDataOutput channel, SimpleValueFetchPlanCommandListener listener, Object result, boolean load, boolean isRecordResultSet, int protocolVersion, ORecordSerializer recordSerializer) throws IOException
IOException
public void read(OChannelDataInput network, OStorageRemoteSession session) throws IOException
read
in interface OBinaryResponse
IOException
protected Object readSynchResult(OChannelDataInput network, ODatabaseDocument database, List<ORecord> temporaryResults) throws IOException
IOException
public Object getResult()
Copyright © 2009–2020 OrientDB. All rights reserved.