public class ArrowFileWriter extends ArrowWriter
out, schema| Constructor and Description |
|---|
ArrowFileWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
endInternal(WriteChannel out) |
List<ArrowBlock> |
getDictionaryBlocks() |
List<ArrowBlock> |
getRecordBlocks() |
protected void |
startInternal(WriteChannel out) |
protected ArrowBlock |
writeDictionaryBatch(ArrowDictionaryBatch batch) |
protected ArrowBlock |
writeRecordBatch(ArrowRecordBatch batch) |
bytesWritten, close, end, start, writeBatchpublic ArrowFileWriter(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out)
protected void startInternal(WriteChannel out) throws IOException
startInternal in class ArrowWriterIOExceptionprotected ArrowBlock writeDictionaryBatch(ArrowDictionaryBatch batch) throws IOException
writeDictionaryBatch in class ArrowWriterIOExceptionprotected ArrowBlock writeRecordBatch(ArrowRecordBatch batch) throws IOException
writeRecordBatch in class ArrowWriterIOExceptionprotected void endInternal(WriteChannel out) throws IOException
endInternal in class ArrowWriterIOExceptionpublic List<ArrowBlock> getRecordBlocks()
public List<ArrowBlock> getDictionaryBlocks()
Copyright © 2018 The Apache Software Foundation. All rights reserved.