ArrowFileInputStream

描述

class Arrow.FileInputStream : Arrow.SeekableInputStream {
  parent_instance: GArrowSeekableInputStream
}
没有可用的描述。

构造函数

garrow_file_input_stream_new
没有可用的描述。

since: 6.0.0

garrow_file_input_stream_new_file_descriptor
没有可用的描述。

since: 6.0.0

实例方法

garrow_file_input_stream_get_file_descriptor
没有可用的描述。

since: 6.0.0

GArrowSeekableInputStream 继承的方法 (5)
garrow_seekable_input_stream_get_size
没有可用的描述。

garrow_seekable_input_stream_get_support_zero_copy
没有可用的描述。

garrow_seekable_input_stream_peek
没有可用的描述。

since: 0.12.0

garrow_seekable_input_stream_read_at
没有可用的描述。

garrow_seekable_input_stream_read_at_bytes
没有可用的描述。

since: 0.15.0

GArrowInputStream 继承的方法 (4)
garrow_input_stream_advance
没有可用的描述。

since: 0.11.0

garrow_input_stream_align
没有可用的描述。

since: 0.11.0

garrow_input_stream_read_record_batch
没有可用的描述。

since: 1.0.0

garrow_input_stream_read_tensor
没有可用的描述。

since: 0.11.0

GInputStream 继承的方法 (19)
g_input_stream_clear_pending

清除 stream 上的 pending 标志。

g_input_stream_close

关闭流,释放与其相关的资源。

g_input_stream_close_async

请求异步关闭流,释放与其相关的资源。操作完成后,将调用 callback。 然后可以调用 g_input_stream_close_finish() 来获取操作结果。

g_input_stream_close_finish

完成从 g_input_stream_close_async() 启动的异步关闭流。

g_input_stream_has_pending

检查输入流是否有挂起的动作。

g_input_stream_is_closed

检查输入流是否已关闭。

g_input_stream_read

尝试从流中读取 count 字节到从 buffer 开始的缓冲区中。 将在此读取期间阻塞。

g_input_stream_read_all

尝试从流中读取 count 字节到从 buffer 开始的缓冲区中。 将在此读取期间阻塞。

g_input_stream_read_all_async

请求从流中异步读取 count 字节到从 buffer 开始的缓冲区中。

since: 2.44

g_input_stream_read_all_finish

完成使用 g_input_stream_read_all_async() 启动的异步流读取操作。

since: 2.44

g_input_stream_read_async

请求从流中异步读取 count 字节到从 buffer 开始的缓冲区中。 操作完成后,将调用 callback。 然后可以调用 g_input_stream_read_finish() 来获取操作结果。

g_input_stream_read_bytes

与 g_input_stream_read() 类似,这尝试以阻塞方式从流中读取 count 字节。 但是,它不会读取到用户提供的缓冲区中,而是会创建一个新的 GBytes,其中包含读取的数据。 这可能更容易从语言绑定中使用。

since: 2.34

g_input_stream_read_bytes_async

请求从流中异步读取 count 字节到新的 GBytes 中。 操作完成后,将调用 callback。 然后可以调用 g_input_stream_read_bytes_finish() 来获取操作结果。

since: 2.34

g_input_stream_read_bytes_finish

完成异步流读取到 GBytes 的操作。

since: 2.34

g_input_stream_read_finish

完成异步流读取操作。

g_input_stream_set_pending

设置 stream 具有挂起的动作。 如果已设置 pending 标志或 stream 已关闭,它将返回 FALSE 并设置 error

g_input_stream_skip

尝试从流中跳过 count 字节。 将在操作期间阻塞。

g_input_stream_skip_async

请求从流中异步跳过 count 字节。 操作完成后,将调用 callback。 然后可以调用 g_input_stream_skip_finish() 来获取操作结果。

g_input_stream_skip_finish

完成流跳过操作。

GObject 继承的方法 (43)

请参阅 GObject 以获取方法的完整列表。

GArrowFile 继承的方法 (4)
garrow_file_close
没有可用的描述。

garrow_file_get_mode
没有可用的描述。

garrow_file_is_closed
没有可用的描述。

since: 0.13.0

garrow_file_tell
没有可用的描述。

GArrowReadable 继承的方法 (2)
garrow_readable_read
没有可用的描述。

garrow_readable_read_bytes
没有可用的描述。

since: 0.17.0

属性

GArrowInputStream 继承的属性 (1)
Arrow.InputStream:input-stream
没有可用的描述。

信号

GObject 继承的信号 (1)
GObject::notify

当对象的某个属性通过 g_object_set_property()、g_object_set() 等设置其值时,会发出 notify 信号。

类结构

struct ArrowFileInputStreamClass {
  GArrowSeekableInputStreamClass parent_class;
  
}
没有可用的描述。
类成员
parent_class: GArrowSeekableInputStreamClass
没有可用的描述。