Arrow::IPC

NAME

Arrow::IPC — pure-Raku Arrow IPC (FlatBuffers) reader and writer

SYNOPSIS

use Arrow::IPC;
# 写:对象只需 .schema / .chunks(&code)
    write-ipc($arrow, 'out.arrow');
    my Buf $bytes = ipc-buf($arrow, :format<stream>);
# 读:只看结构 / 解码成 Raku 值 + Arrow format 串
    my %info = describe-ipc('out.arrow');
    my %data = decode-ipc('out.arrow');
    say %data<names>.raku;
    say %data<formats>.raku;
    say %data<cols>.raku;

API

  • write-ipc($arrow, $path, :$format) — file(默认)/ stream 格式。

  • ipc-buf($arrow, :$format) — 默认 stream 格式。

  • describe-ipc($path) — `%(format, fields, batches, rows)`,fields 是 AField 对象。

  • decode-ipc($path) — `%(names, formats, cols, fields)`;formats 是 Arrow format 串。

  • parse-format($fmt) — Arrow format 串 -> `%(tag, kind, ...)`。

Arrow::IPC v0.1.2

Pure-Raku Arrow IPC (FlatBuffers) reader/writer, driver-agnostic

Authors

  • skyter10086

License

Artistic-2.0

Dependencies

Provides

  • Arrow::IPC
  • Arrow::IPC::CData
  • Arrow::IPC::FlatBuf
  • Arrow::IPC::Format
  • Arrow::IPC::Read
  • Arrow::IPC::Write

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.