| Top |
| GArrowBuffer * | buffer | Read / Write / Construct Only |
| gpointer | input-stream | Write / Construct Only |
GObject
╰── GArrowInputStream
├── GArrowSeekableInputStream
│ ├── GArrowBufferInputStream
│ ├── GArrowGIOInputStream
│ ╰── GArrowMemoryMappedInputStream
╰── GArrowSeekableInputStream
├── GArrowBufferInputStream
├── GArrowGIOInputStream
╰── GArrowMemoryMappedInputStream
GArrowMemoryMappedInputStream implements
GArrowGIOInputStream implements
GArrowBufferInputStream implements
GArrowInputStream implements
GArrowSeekableInputStream implements
GArrowInputStream is a base class for input stream.
GArrowSeekableInputStream is a base class for input stream that supports random access.
GArrowBufferInputStream is a class to read data on buffer.
GArrowMemoryMappedInputStream is a class to read data in file by mapping the file on memory. It supports zero copy.
GArrowGIOInputStream is a class for GInputStream based input
stream.
guint64 garrow_seekable_input_stream_get_size (GArrowSeekableInputStream *input_stream,GError **error);
gboolean
garrow_seekable_input_stream_get_support_zero_copy
(GArrowSeekableInputStream *input_stream);
GArrowBuffer * garrow_seekable_input_stream_read_at (GArrowSeekableInputStream *input_stream,gint64 position,gint64 n_bytes,GError **error);
input_stream |
||
position |
The read start position. |
|
n_bytes |
The number of bytes to be read. |
|
error |
Return location for a GError or |
[nullable] |
GArrowBuffer that has read
data on success, NULL if there was an error.
[transfer full][nullable]
GArrowTensor * garrow_seekable_input_stream_read_tensor (GArrowSeekableInputStream *input_stream,gint64 position,GError **error);
input_stream |
||
position |
The read start position. |
|
error |
Return location for a GError or |
[nullable] |
Since: 0.4.0
GArrowBufferInputStream *
garrow_buffer_input_stream_new (GArrowBuffer *buffer);
GArrowBuffer *
garrow_buffer_input_stream_get_buffer (GArrowBufferInputStream *input_stream);
GArrowMemoryMappedInputStream * garrow_memory_mapped_input_stream_new (const gchar *path,GError **error);
GArrowGIOInputStream *
garrow_gio_input_stream_new (GInputStream *gio_input_stream);
Since: 0.5.0
GInputStream *
garrow_gio_input_stream_get_raw (GArrowGIOInputStream *input_stream);
Since: 0.5.0
struct GArrowSeekableInputStreamClass {
GArrowInputStreamClass parent_class;
};
struct GArrowBufferInputStreamClass {
GArrowSeekableInputStreamClass parent_class;
};
struct GArrowMemoryMappedInputStream;
It wraps arrow::io::MemoryMappedFile.