Module org.apache.arrow.flight.core
Package org.apache.arrow.flight.impl
Class Flight.PollInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Flight.PollInfo.Builder>
org.apache.arrow.flight.impl.Flight.PollInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Flight.PollInfoOrBuilder
- Enclosing class:
- Flight.PollInfo
public static final class Flight.PollInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Flight.PollInfo.Builder>
implements Flight.PollInfoOrBuilder
The information to process a long-running query.Protobuf type
arrow.flight.protocol.PollInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Expiration time for this request.The descriptor the client should use on the next try.The currently available results.Query progress.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampExpiration time for this request.com.google.protobuf.Timestamp.BuilderExpiration time for this request.com.google.protobuf.TimestampOrBuilderExpiration time for this request.The descriptor the client should use on the next try.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.The currently available results.doubleQuery progress.booleanExpiration time for this request.booleanThe descriptor the client should use on the next try.booleanhasInfo()The currently available results.booleanQuery progress.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeExpirationTime(com.google.protobuf.Timestamp value) Expiration time for this request.The descriptor the client should use on the next try.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Flight.PollInfo other) mergeInfo(Flight.FlightInfo value) The currently available results.setExpirationTime(com.google.protobuf.Timestamp value) Expiration time for this request.setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) Expiration time for this request.The descriptor the client should use on the next try.setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue) The descriptor the client should use on the next try.setInfo(Flight.FlightInfo value) The currently available results.setInfo(Flight.FlightInfo.Builder builderForValue) The currently available results.setProgress(double value) Query progress.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Flight.PollInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Flight.PollInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Flight.PollInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Flight.PollInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Flight.PollInfo.Builder>
-
mergeFrom
public Flight.PollInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Flight.PollInfo.Builder>- Throws:
IOException
-
hasInfo
public 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;- Specified by:
hasInfoin interfaceFlight.PollInfoOrBuilder- Returns:
- Whether the info field is set.
-
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;- Specified by:
getInfoin interfaceFlight.PollInfoOrBuilder- Returns:
- The info.
-
setInfo
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; -
setInfo
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; -
mergeInfo
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; -
clearInfo
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; -
getInfoBuilder
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; -
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;- Specified by:
getInfoOrBuilderin interfaceFlight.PollInfoOrBuilder
-
hasFlightDescriptor
public 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;- Specified by:
hasFlightDescriptorin interfaceFlight.PollInfoOrBuilder- Returns:
- Whether the flightDescriptor field is set.
-
getFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;- Specified by:
getFlightDescriptorin interfaceFlight.PollInfoOrBuilder- Returns:
- The flightDescriptor.
-
setFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
setFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
mergeFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
clearFlightDescriptor
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
getFlightDescriptorBuilder
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
getFlightDescriptorOrBuilder
The descriptor the client should use on the next try. If unset, the query is complete.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;- Specified by:
getFlightDescriptorOrBuilderin interfaceFlight.PollInfoOrBuilder
-
hasProgress
public 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;- Specified by:
hasProgressin interfaceFlight.PollInfoOrBuilder- Returns:
- Whether the progress field is set.
-
getProgress
public 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;- Specified by:
getProgressin interfaceFlight.PollInfoOrBuilder- Returns:
- The progress.
-
setProgress
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;- Parameters:
value- The progress to set.- Returns:
- This builder for chaining.
-
clearProgress
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:
- This builder for chaining.
-
hasExpirationTime
public 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;- Specified by:
hasExpirationTimein interfaceFlight.PollInfoOrBuilder- Returns:
- Whether the expirationTime field is set.
-
getExpirationTime
public 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;- Specified by:
getExpirationTimein interfaceFlight.PollInfoOrBuilder- Returns:
- The expirationTime.
-
setExpirationTime
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; -
setExpirationTime
public Flight.PollInfo.Builder setExpirationTime(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeExpirationTime
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; -
clearExpirationTime
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; -
getExpirationTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpirationTimeBuilder()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; -
getExpirationTimeOrBuilder
public 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;- Specified by:
getExpirationTimeOrBuilderin interfaceFlight.PollInfoOrBuilder
-