Class Service.FetchRequest
- java.lang.Object
-
- org.apache.calcite.avatica.remote.Service.Base
-
- org.apache.calcite.avatica.remote.Service.Request
-
- org.apache.calcite.avatica.remote.Service.FetchRequest
-
- Enclosing interface:
- Service
public static class Service.FetchRequest extends Service.Request
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.protobuf.Descriptors.FieldDescriptorCONNECTION_ID_DESCRIPTORjava.lang.StringconnectionIdintfetchMaxRowCountMaximum number of rows to be returned in the frame.private static com.google.protobuf.Descriptors.FieldDescriptorFRAME_MAX_SIZE_DESCRIPTORlongoffsetintstatementId-
Fields inherited from class org.apache.calcite.avatica.remote.Service.Base
PRIME
-
-
Constructor Summary
Constructors Constructor Description FetchRequest()FetchRequest(java.lang.String connectionId, int statementId, long offset, int fetchMaxRowCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Service.FetchResponseaccept(Service service)(package private) Service.FetchRequestdeserialize(com.google.protobuf.Message genericMsg)booleanequals(java.lang.Object o)inthashCode()(package private) Requests.FetchRequestserialize()-
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
-
FRAME_MAX_SIZE_DESCRIPTOR
private static final com.google.protobuf.Descriptors.FieldDescriptor FRAME_MAX_SIZE_DESCRIPTOR
-
connectionId
public final java.lang.String connectionId
-
statementId
public final int statementId
-
offset
public final long offset
-
fetchMaxRowCount
public final int fetchMaxRowCount
Maximum number of rows to be returned in the frame. Negative means no limit.
-
-
Method Detail
-
accept
Service.FetchResponse accept(Service service)
- Specified by:
acceptin classService.Request
-
deserialize
Service.FetchRequest deserialize(com.google.protobuf.Message genericMsg)
- Specified by:
deserializein classService.Request
-
serialize
Requests.FetchRequest 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
-
-