public static final class FlightInfo.Builder extends Object
Modifier and Type | Method and Description |
---|---|
FlightInfo |
build()
Build FlightInfo object.
|
FlightInfo.Builder |
setAppMetadata(byte[] appMetadata)
Set the app metadata to send along with the flight.
|
FlightInfo.Builder |
setBytes(long bytes)
Set the number of bytes for the flight.
|
FlightInfo.Builder |
setOption(IpcOption option)
Set IPC write options.
|
FlightInfo.Builder |
setOrdered(boolean ordered)
Set whether the flight endpoints are ordered.
|
FlightInfo.Builder |
setRecords(long records)
Set the number of records for the flight.
|
public FlightInfo.Builder setBytes(long bytes)
bytes
- The number of bytes in the flightpublic FlightInfo.Builder setRecords(long records)
records
- The number of records in the flight.public FlightInfo.Builder setOrdered(boolean ordered)
ordered
- Whether the endpoints in this flight are ordered.public FlightInfo.Builder setOption(IpcOption option)
option
- IPC write options.public FlightInfo.Builder setAppMetadata(byte[] appMetadata)
appMetadata
- Metadata to send along with the flightpublic FlightInfo build()
Copyright © 2024 The Apache Software Foundation. All rights reserved.