Package org.apache.arrow.flight.impl
Interface Flight.PollInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Flight.PollInfo
,Flight.PollInfo.Builder
- Enclosing class:
- Flight
public static interface Flight.PollInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Timestamp
Expiration time for this request.com.google.protobuf.TimestampOrBuilder
Expiration time for this request.The descriptor the client should use on the next try.The descriptor the client should use on the next try.getInfo()
The currently available results.The currently available results.double
Query progress.boolean
Expiration time for this request.boolean
The descriptor the client should use on the next try.boolean
hasInfo()
The currently available results.boolean
Query progress.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInfo
boolean hasInfo()The currently available results. If "flight_descriptor" is not specified, the query is complete and "info" specifies all results. Otherwise, "info" contains partial query results. Note that each PollInfo response contains a complete FlightInfo (not just the delta between the previous and current FlightInfo). Subsequent PollInfo responses may only append new endpoints to info. Clients can begin fetching results via DoGet(Ticket) with the ticket in the info before the query is completed. FlightInfo.ordered is also valid.
.arrow.flight.protocol.FlightInfo info = 1;
- Returns:
- Whether the info field is set.
-
getInfo
Flight.FlightInfo getInfo()The currently available results. If "flight_descriptor" is not specified, the query is complete and "info" specifies all results. Otherwise, "info" contains partial query results. Note that each PollInfo response contains a complete FlightInfo (not just the delta between the previous and current FlightInfo). Subsequent PollInfo responses may only append new endpoints to info. Clients can begin fetching results via DoGet(Ticket) with the ticket in the info before the query is completed. FlightInfo.ordered is also valid.
.arrow.flight.protocol.FlightInfo info = 1;
- Returns:
- The info.
-
getInfoOrBuilder
Flight.FlightInfoOrBuilder getInfoOrBuilder()The currently available results. If "flight_descriptor" is not specified, the query is complete and "info" specifies all results. Otherwise, "info" contains partial query results. Note that each PollInfo response contains a complete FlightInfo (not just the delta between the previous and current FlightInfo). Subsequent PollInfo responses may only append new endpoints to info. Clients can begin fetching results via DoGet(Ticket) with the ticket in the info before the query is completed. FlightInfo.ordered is also valid.
.arrow.flight.protocol.FlightInfo info = 1;
-
hasFlightDescriptor
boolean hasFlightDescriptor()The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
- Returns:
- Whether the flightDescriptor field is set.
-
getFlightDescriptor
Flight.FlightDescriptor getFlightDescriptor()The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
- Returns:
- The flightDescriptor.
-
getFlightDescriptorOrBuilder
Flight.FlightDescriptorOrBuilder getFlightDescriptorOrBuilder()The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;
-
hasProgress
boolean hasProgress()Query progress. If known, must be in [0.0, 1.0] but need not be monotonic or nondecreasing. If unknown, do not set.
optional double progress = 3;
- Returns:
- Whether the progress field is set.
-
getProgress
double getProgress()Query progress. If known, must be in [0.0, 1.0] but need not be monotonic or nondecreasing. If unknown, do not set.
optional double progress = 3;
- Returns:
- The progress.
-
hasExpirationTime
boolean hasExpirationTime()Expiration time for this request. After this passes, the server might not accept the retry descriptor anymore (and the query may be cancelled). This may be updated on a call to PollFlightInfo.
.google.protobuf.Timestamp expiration_time = 4;
- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
com.google.protobuf.Timestamp getExpirationTime()Expiration time for this request. After this passes, the server might not accept the retry descriptor anymore (and the query may be cancelled). This may be updated on a call to PollFlightInfo.
.google.protobuf.Timestamp expiration_time = 4;
- Returns:
- The expirationTime.
-
getExpirationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationTimeOrBuilder()Expiration time for this request. After this passes, the server might not accept the retry descriptor anymore (and the query may be cancelled). This may be updated on a call to PollFlightInfo.
.google.protobuf.Timestamp expiration_time = 4;
-