Package org.apache.arrow.flight.impl
Interface Flight.FlightDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Flight.FlightData
,Flight.FlightData.Builder
- Enclosing class:
- Flight
public static interface Flight.FlightDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
Application-defined metadata.com.google.protobuf.ByteString
The actual batch of Arrow data.com.google.protobuf.ByteString
Header for message data as described in Message.fbs::Message.The descriptor of the data.The descriptor of the data.boolean
The descriptor of the data.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
-
hasFlightDescriptor
boolean hasFlightDescriptor()The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;
- Returns:
- Whether the flightDescriptor field is set.
-
getFlightDescriptor
Flight.FlightDescriptor getFlightDescriptor()The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;
- Returns:
- The flightDescriptor.
-
getFlightDescriptorOrBuilder
Flight.FlightDescriptorOrBuilder getFlightDescriptorOrBuilder()The descriptor of the data. This is only relevant when a client is starting a new DoPut stream.
.arrow.flight.protocol.FlightDescriptor flight_descriptor = 1;
-
getDataHeader
com.google.protobuf.ByteString getDataHeader()Header for message data as described in Message.fbs::Message.
bytes data_header = 2;
- Returns:
- The dataHeader.
-
getAppMetadata
com.google.protobuf.ByteString getAppMetadata()Application-defined metadata.
bytes app_metadata = 3;
- Returns:
- The appMetadata.
-
getDataBody
com.google.protobuf.ByteString getDataBody()The actual batch of Arrow data. Preferably handled with minimal-copies coming last in the definition to help with sidecar patterns (it is expected that some implementations will fetch this field off the wire with specialized code to avoid extra memory copies).
bytes data_body = 1000;
- Returns:
- The dataBody.
-