Class ArrowConversion
java.lang.Object
org.apache.beam.sdk.extensions.arrow.ArrowConversion
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classConverts Arrow schema to Beam row schema.static class
- 
Method SummaryModifier and TypeMethodDescriptionstatic SchemaarrowSchemaFromInput(InputStream input) rowsFromRecordBatch(Schema schema, VectorSchemaRoot vectorSchemaRoot) Returns aArrowConversion.RecordBatchRowIteratorbacked by the Arrow record batch stored invectorSchemaRoot.rowsFromSerializedRecordBatch(Schema arrowSchema, InputStream inputStream, RootAllocator allocator) 
- 
Method Details- 
rowsFromRecordBatchpublic static ArrowConversion.RecordBatchRowIterator rowsFromRecordBatch(Schema schema, VectorSchemaRoot vectorSchemaRoot) Returns aArrowConversion.RecordBatchRowIteratorbacked by the Arrow record batch stored invectorSchemaRoot.Note this is a lazy interface. The data in the underlying Arrow buffer is not read until a field of one of the returned Rows is accessed.
- 
rowsFromSerializedRecordBatchpublic static ArrowConversion.RecordBatchRowIterator rowsFromSerializedRecordBatch(Schema arrowSchema, InputStream inputStream, RootAllocator allocator) throws IOException - Throws:
- IOException
 
- 
arrowSchemaFromInput- Throws:
- IOException
 
 
-