public class ArrowFileReader extends ArrowReader<SeekableReadChannel>
DictionaryProvider.MapDictionaryProvider| Constructor and Description |
|---|
ArrowFileReader(SeekableByteChannel in,
BufferAllocator allocator) |
ArrowFileReader(SeekableReadChannel in,
BufferAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
List<ArrowBlock> |
getDictionaryBlocks() |
List<ArrowBlock> |
getRecordBlocks() |
boolean |
loadRecordBatch(ArrowBlock block) |
protected ArrowMessage |
readMessage(SeekableReadChannel in,
BufferAllocator allocator) |
protected Schema |
readSchema(SeekableReadChannel in) |
bytesRead, close, ensureInitialized, getDictionaryVectors, getVectorSchemaRoot, loadNextBatch, lookuppublic ArrowFileReader(SeekableByteChannel in, BufferAllocator allocator)
public ArrowFileReader(SeekableReadChannel in, BufferAllocator allocator)
protected Schema readSchema(SeekableReadChannel in) throws IOException
readSchema in class ArrowReader<SeekableReadChannel>IOExceptionprotected ArrowMessage readMessage(SeekableReadChannel in, BufferAllocator allocator) throws IOException
readMessage in class ArrowReader<SeekableReadChannel>IOExceptionpublic List<ArrowBlock> getDictionaryBlocks() throws IOException
IOExceptionpublic List<ArrowBlock> getRecordBlocks() throws IOException
IOExceptionpublic boolean loadRecordBatch(ArrowBlock block) throws IOException
IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.