public class OQueryResponse extends Object implements OBinaryResponse
Modifier and Type | Field and Description |
---|---|
static byte |
RECORD_TYPE_BLOB |
static byte |
RECORD_TYPE_EDGE |
static byte |
RECORD_TYPE_ELEMENT |
static byte |
RECORD_TYPE_PROJECTION |
static byte |
RECORD_TYPE_VERTEX |
Constructor and Description |
---|
OQueryResponse() |
OQueryResponse(String queryId,
boolean txChanges,
List<OResultInternal> result,
Optional<OExecutionPlan> executionPlan,
boolean hasNextPage,
Map<String,Long> queryStats,
boolean reloadMetadata) |
Modifier and Type | Method and Description |
---|---|
Optional<OExecutionPlan> |
getExecutionPlan() |
String |
getQueryId() |
Map<String,Long> |
getQueryStats() |
List<OResultInternal> |
getResult() |
boolean |
isHasNextPage() |
boolean |
isReloadMetadata() |
boolean |
isTxChanges() |
void |
read(OChannelDataInput network,
OStorageRemoteSession session) |
void |
write(OChannelDataOutput channel,
int protocolVersion,
ORecordSerializer serializer) |
public static final byte RECORD_TYPE_BLOB
public static final byte RECORD_TYPE_VERTEX
public static final byte RECORD_TYPE_EDGE
public static final byte RECORD_TYPE_ELEMENT
public static final byte RECORD_TYPE_PROJECTION
public OQueryResponse(String queryId, boolean txChanges, List<OResultInternal> result, Optional<OExecutionPlan> executionPlan, boolean hasNextPage, Map<String,Long> queryStats, boolean reloadMetadata)
public OQueryResponse()
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException
write
in interface OBinaryResponse
IOException
public void read(OChannelDataInput network, OStorageRemoteSession session) throws IOException
read
in interface OBinaryResponse
IOException
public String getQueryId()
public List<OResultInternal> getResult()
public Optional<OExecutionPlan> getExecutionPlan()
public boolean isHasNextPage()
public boolean isTxChanges()
public boolean isReloadMetadata()
Copyright © 2009–2020 OrientDB. All rights reserved.