Module org.apache.arrow.flight.core
Package org.apache.arrow.flight.impl
Class Flight.FlightInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Flight.FlightInfo.Builder>
org.apache.arrow.flight.impl.Flight.FlightInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Flight.FlightInfoOrBuilder
- Enclosing class:
- Flight.FlightInfo
public static final class Flight.FlightInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Flight.FlightInfo.Builder>
implements Flight.FlightInfoOrBuilder
The access coordinates for retrieval of a dataset. With a FlightInfo, a consumer is able to determine how to retrieve a dataset.Protobuf type
arrow.flight.protocol.FlightInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllEndpoint(Iterable<? extends Flight.FlightEndpoint> values) A list of endpoints associated with the flight.addEndpoint(int index, Flight.FlightEndpoint value) A list of endpoints associated with the flight.addEndpoint(int index, Flight.FlightEndpoint.Builder builderForValue) A list of endpoints associated with the flight.addEndpoint(Flight.FlightEndpoint value) A list of endpoints associated with the flight.addEndpoint(Flight.FlightEndpoint.Builder builderForValue) A list of endpoints associated with the flight.A list of endpoints associated with the flight.addEndpointBuilder(int index) A list of endpoints associated with the flight.build()clear()Application-defined metadata.A list of endpoints associated with the flight.The descriptor associated with this info.FlightEndpoints are in the same order as the data.The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schemaint64 total_bytes = 5;Set these to -1 if unknown.com.google.protobuf.ByteStringApplication-defined metadata.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEndpoint(int index) A list of endpoints associated with the flight.getEndpointBuilder(int index) A list of endpoints associated with the flight.A list of endpoints associated with the flight.intA list of endpoints associated with the flight.A list of endpoints associated with the flight.getEndpointOrBuilder(int index) A list of endpoints associated with the flight.List<? extends Flight.FlightEndpointOrBuilder>A list of endpoints associated with the flight.The descriptor associated with this info.The descriptor associated with this info.The descriptor associated with this info.booleanFlightEndpoints are in the same order as the data.com.google.protobuf.ByteStringThe schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schemalongint64 total_bytes = 5;longSet these to -1 if unknown.booleanThe descriptor associated with this info.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe descriptor associated with this info.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Flight.FlightInfo other) removeEndpoint(int index) A list of endpoints associated with the flight.setAppMetadata(com.google.protobuf.ByteString value) Application-defined metadata.setEndpoint(int index, Flight.FlightEndpoint value) A list of endpoints associated with the flight.setEndpoint(int index, Flight.FlightEndpoint.Builder builderForValue) A list of endpoints associated with the flight.The descriptor associated with this info.setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue) The descriptor associated with this info.setOrdered(boolean value) FlightEndpoints are in the same order as the data.setSchema(com.google.protobuf.ByteString value) The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the SchemasetTotalBytes(long value) int64 total_bytes = 5;setTotalRecords(long value) Set these to -1 if unknown.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.FlightInfo.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.FlightInfo.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.FlightInfo.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.FlightInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Flight.FlightInfo.Builder>
-
mergeFrom
public Flight.FlightInfo.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.FlightInfo.Builder>- Throws:
IOException
-
getSchema
public com.google.protobuf.ByteString getSchema()The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schema
bytes schema = 1;- Specified by:
getSchemain interfaceFlight.FlightInfoOrBuilder- Returns:
- The schema.
-
setSchema
The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schema
bytes schema = 1;- Parameters:
value- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
The schema of the dataset in its IPC form: 4 bytes - an optional IPC_CONTINUATION_TOKEN prefix 4 bytes - the byte length of the payload a flatbuffer Message whose header is the Schema
bytes schema = 1;- Returns:
- This builder for chaining.
-
hasFlightDescriptor
public boolean hasFlightDescriptor()The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;- Specified by:
hasFlightDescriptorin interfaceFlight.FlightInfoOrBuilder- Returns:
- Whether the flightDescriptor field is set.
-
getFlightDescriptor
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;- Specified by:
getFlightDescriptorin interfaceFlight.FlightInfoOrBuilder- Returns:
- The flightDescriptor.
-
setFlightDescriptor
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
setFlightDescriptor
public Flight.FlightInfo.Builder setFlightDescriptor(Flight.FlightDescriptor.Builder builderForValue) The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
mergeFlightDescriptor
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
clearFlightDescriptor
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
getFlightDescriptorBuilder
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2; -
getFlightDescriptorOrBuilder
The descriptor associated with this info.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 2;- Specified by:
getFlightDescriptorOrBuilderin interfaceFlight.FlightInfoOrBuilder
-
getEndpointList
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;- Specified by:
getEndpointListin interfaceFlight.FlightInfoOrBuilder
-
getEndpointCount
public int getEndpointCount()A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;- Specified by:
getEndpointCountin interfaceFlight.FlightInfoOrBuilder
-
getEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;- Specified by:
getEndpointin interfaceFlight.FlightInfoOrBuilder
-
setEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
setEndpoint
public Flight.FlightInfo.Builder setEndpoint(int index, Flight.FlightEndpoint.Builder builderForValue) A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
addEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
addEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
addEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
addEndpoint
public Flight.FlightInfo.Builder addEndpoint(int index, Flight.FlightEndpoint.Builder builderForValue) A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
addAllEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
clearEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
removeEndpoint
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
getEndpointBuilder
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
getEndpointOrBuilder
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;- Specified by:
getEndpointOrBuilderin interfaceFlight.FlightInfoOrBuilder
-
getEndpointOrBuilderList
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3;- Specified by:
getEndpointOrBuilderListin interfaceFlight.FlightInfoOrBuilder
-
addEndpointBuilder
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
addEndpointBuilder
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
getEndpointBuilderList
A list of endpoints associated with the flight. To consume the whole flight, all endpoints (and hence all Tickets) must be consumed. Endpoints can be consumed in any order. In other words, an application can use multiple endpoints to represent partitioned data. If the returned data has an ordering, an application can use "FlightInfo.ordered = true" or should return the all data in a single endpoint. Otherwise, there is no ordering defined on endpoints or the data within. A client can read ordered data by reading data from returned endpoints, in order, from front to back. Note that a client may ignore "FlightInfo.ordered = true". If an ordering is important for an application, an application must choose one of them: * An application requires that all clients must read data in returned endpoints order. * An application must return the all data in a single endpoint.
repeated .arrow.flight.protocol.FlightEndpoint endpoint = 3; -
getTotalRecords
public long getTotalRecords()Set these to -1 if unknown.
int64 total_records = 4;- Specified by:
getTotalRecordsin interfaceFlight.FlightInfoOrBuilder- Returns:
- The totalRecords.
-
setTotalRecords
Set these to -1 if unknown.
int64 total_records = 4;- Parameters:
value- The totalRecords to set.- Returns:
- This builder for chaining.
-
clearTotalRecords
Set these to -1 if unknown.
int64 total_records = 4;- Returns:
- This builder for chaining.
-
getTotalBytes
public long getTotalBytes()int64 total_bytes = 5;- Specified by:
getTotalBytesin interfaceFlight.FlightInfoOrBuilder- Returns:
- The totalBytes.
-
setTotalBytes
int64 total_bytes = 5;- Parameters:
value- The totalBytes to set.- Returns:
- This builder for chaining.
-
clearTotalBytes
int64 total_bytes = 5;- Returns:
- This builder for chaining.
-
getOrdered
public boolean getOrdered()FlightEndpoints are in the same order as the data.
bool ordered = 6;- Specified by:
getOrderedin interfaceFlight.FlightInfoOrBuilder- Returns:
- The ordered.
-
setOrdered
FlightEndpoints are in the same order as the data.
bool ordered = 6;- Parameters:
value- The ordered to set.- Returns:
- This builder for chaining.
-
clearOrdered
FlightEndpoints are in the same order as the data.
bool ordered = 6;- Returns:
- This builder for chaining.
-
getAppMetadata
public com.google.protobuf.ByteString getAppMetadata()Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightEndpoints or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 7;- Specified by:
getAppMetadatain interfaceFlight.FlightInfoOrBuilder- Returns:
- The appMetadata.
-
setAppMetadata
Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightEndpoints or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 7;- Parameters:
value- The appMetadata to set.- Returns:
- This builder for chaining.
-
clearAppMetadata
Application-defined metadata. There is no inherent or required relationship between this and the app_metadata fields in the FlightEndpoints or resulting FlightData messages. Since this metadata is application-defined, a given application could define there to be a relationship, but there is none required by the spec.
bytes app_metadata = 7;- Returns:
- This builder for chaining.
-