Class OQueryResponse
java.lang.Object
com.orientechnologies.orient.client.remote.message.OQueryResponse
- All Implemented Interfaces:
OBinaryResponse
Created by luigidellaquila on 01/12/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final byte -
Constructor Summary
ConstructorsConstructorDescriptionOQueryResponse(String queryId, boolean txChanges, List<OResult> result, Optional<OExecutionPlan> executionPlan, boolean hasNextPage, Map<String, Long> queryStats, boolean reloadMetadata) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidread(OChannelDataInput network, ORemoteClientSession session) voidwrite(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer)
-
Field Details
-
RECORD_TYPE_BLOB
public static final byte RECORD_TYPE_BLOB- See Also:
-
RECORD_TYPE_VERTEX
public static final byte RECORD_TYPE_VERTEX- See Also:
-
RECORD_TYPE_EDGE
public static final byte RECORD_TYPE_EDGE- See Also:
-
RECORD_TYPE_ELEMENT
public static final byte RECORD_TYPE_ELEMENT- See Also:
-
RECORD_TYPE_PROJECTION
public static final byte RECORD_TYPE_PROJECTION- See Also:
-
-
Constructor Details
-
OQueryResponse
-
OQueryResponse
public OQueryResponse()
-
-
Method Details
-
write
public void write(OChannelDataOutput channel, int protocolVersion, ORecordSerializer serializer) throws IOException - Specified by:
writein interfaceOBinaryResponse- Throws:
IOException
-
read
- Specified by:
readin interfaceOBinaryResponse- Throws:
IOException
-
getQueryId
-
getResult
-
getExecutionPlan
-
isHasNextPage
public boolean isHasNextPage() -
getQueryStats
-
isTxChanges
public boolean isTxChanges() -
isReloadMetadata
public boolean isReloadMetadata()
-