Class Service.SyncResultsRequest
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Request
-
- org.apache.calcite.avatica.remote.Service.SyncResultsRequest
-
- Enclosing interface:
- Service
public static class Service.SyncResultsRequest extends Service.Request
Request forService.apply(SyncResultsRequest)
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Descriptors.FieldDescriptorCONNECTION_ID_DESCRIPTORjava.lang.StringconnectionIdlongoffsetprivate static com.google.protobuf.Descriptors.FieldDescriptorOFFSET_DESCRIPTORQueryStatestateprivate static com.google.protobuf.Descriptors.FieldDescriptorSTATE_DESCRIPTORprivate static com.google.protobuf.Descriptors.FieldDescriptorSTATEMENT_ID_DESCRIPTORintstatementId-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description SyncResultsRequest()SyncResultsRequest(java.lang.String connectionId, int statementId, QueryState state, long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Service.SyncResultsResponseaccept(Service service)(package private) Service.Requestdeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)inthashCode()(package private) Requests.SyncResultsRequestserialize()-
Methods inherited from class org.apache.calcite.avatica.remote.Service.Base
p, p, p, p
-
-
-
-
Field Detail
-
CONNECTION_ID_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor CONNECTION_ID_DESCRIPTOR
-
STATEMENT_ID_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor STATEMENT_ID_DESCRIPTOR
-
STATE_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor STATE_DESCRIPTOR
-
OFFSET_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor OFFSET_DESCRIPTOR
-
connectionId
public final java.lang.String connectionId
-
statementId
public final int statementId
-
state
public final QueryState state
-
offset
public final long offset
-
-
Constructor Detail
-
SyncResultsRequest
SyncResultsRequest()
-
SyncResultsRequest
public SyncResultsRequest(java.lang.String connectionId, int statementId, QueryState state, long offset)
-
-
Method Detail
-
accept
Service.SyncResultsResponse accept(Service service)
- Specified by:
acceptin classService.Request
-
deserialize
Service.Request deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Request
-
serialize
Requests.SyncResultsRequest serialize()
- Specified by:
serializein classService.Request
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-