public class FlightHolder extends Object implements AutoCloseable
| Constructor and Description |
|---|
FlightHolder(BufferAllocator allocator,
FlightDescriptor descriptor,
Schema schema) |
| Modifier and Type | Method and Description |
|---|---|
Stream.StreamCreator |
addStream(Schema schema) |
void |
close() |
FlightInfo |
getFlightInfo(Location l) |
Stream |
getStream(ExampleTicket ticket) |
public FlightHolder(BufferAllocator allocator, FlightDescriptor descriptor, Schema schema)
public Stream getStream(ExampleTicket ticket)
public Stream.StreamCreator addStream(Schema schema)
public FlightInfo getFlightInfo(Location l)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.