public class Stream extends Object implements AutoCloseable, Iterable<ArrowRecordBatch>
| Modifier and Type | Class and Description |
|---|---|
static class |
Stream.StreamCreator |
| Constructor and Description |
|---|
Stream(Schema schema,
List<ArrowRecordBatch> batches,
long recordCount) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getRecordCount() |
Schema |
getSchema() |
String |
getUuid() |
Iterator<ArrowRecordBatch> |
iterator() |
void |
sendTo(BufferAllocator allocator,
FlightProducer.ServerStreamListener listener) |
void |
verify(ExampleTicket ticket) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic Stream(Schema schema, List<ArrowRecordBatch> batches, long recordCount)
public Schema getSchema()
public Iterator<ArrowRecordBatch> iterator()
iterator in interface Iterable<ArrowRecordBatch>public long getRecordCount()
public String getUuid()
public void sendTo(BufferAllocator allocator, FlightProducer.ServerStreamListener listener)
public void verify(ExampleTicket ticket)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.