public class ArrowStreamReader extends ArrowReader<ReadChannel>
DictionaryProvider.MapDictionaryProvider| Constructor and Description |
|---|
ArrowStreamReader(InputStream in,
BufferAllocator allocator) |
ArrowStreamReader(ReadableByteChannel in,
BufferAllocator allocator)
Constructs a streaming read, reading bytes from 'in'.
|
| Modifier and Type | Method and Description |
|---|---|
protected ArrowMessage |
readMessage(ReadChannel in,
BufferAllocator allocator) |
protected Schema |
readSchema(ReadChannel in)
Reads the schema message from the beginning of the stream.
|
bytesRead, close, ensureInitialized, getDictionaryVectors, getVectorSchemaRoot, loadNextBatch, lookuppublic ArrowStreamReader(ReadableByteChannel in, BufferAllocator allocator)
in - the stream to read fromallocator - to allocate new bufferspublic ArrowStreamReader(InputStream in, BufferAllocator allocator)
protected Schema readSchema(ReadChannel in) throws IOException
readSchema in class ArrowReader<ReadChannel>in - to allocate new buffersIOExceptionprotected ArrowMessage readMessage(ReadChannel in, BufferAllocator allocator) throws IOException
readMessage in class ArrowReader<ReadChannel>IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.