irx.builder.runtime.record_batch

irx.builder.runtime.record_batch

Source: packages/irx/src/irx/builder/runtime/record_batch.py

title: Record batch streaming API.

Functions

build_record_batch_runtime_feature() -> RuntimeFeature

title: Build the RecordBatch streaming runtime feature specification.
returns:
  type: RuntimeFeature

shared_library_path() -> Path

title: shared_library_path.
returns:
  type: Path

shared_library_fingerprint_path(output_path: Path | None=None) -> Path

title: Return the fingerprint sidecar path for a shared library.
parameters:
  output_path:
    type: Path | None
returns:
  type: Path

record_batch_build_fingerprint(cxx_binary: str='c++') -> str

title: Hash native sources, build inputs, and compiler identity.
parameters:
  cxx_binary:
    type: str
returns:
  type: str

record_batch_shared_library_is_current(output_path: Path | None=None, cxx_binary: str='c++') -> bool

title: Return whether a shared library matches all current build inputs.
parameters:
  output_path:
    type: Path | None
  cxx_binary:
    type: str
returns:
  type: bool

record_batch_build_lock(output_path: Path, timeout_seconds: float=120.0) -> Iterator[None]

title: Serialize native library builds with an OS-managed file lock.
summary: >-
  The lock file is a persistent rendezvous point, while ownership is held
  by the operating system. Process termination therefore releases the lock
  without trusting file contents, process identifiers, or cleanup code.
parameters:
  output_path:
    type: Path
  timeout_seconds:
    type: float
returns:
  type: Iterator[None]

build_record_batch_shared_library(output_path: Path | None=None, build_dir: Path | None=None, cxx_binary: str='c++') -> Path

title: Compile irx_record_batch.cpp into a standalone shared library.
summary: >-
  Used by the ctypes-based Python API (``irx.record_batch``) and its test
  suite, which load the library directly rather than going through LLVM
  codegen.
parameters:
  output_path:
    type: Path | None
  build_dir:
    type: Path | None
  cxx_binary:
    type: str
returns:
  type: Path

ensure_record_batch_shared_library(output_path: Path | None=None, build_dir: Path | None=None, cxx_binary: str='c++') -> Path

title: Return a current native library, rebuilding stale artifacts.
parameters:
  output_path:
    type: Path | None
  build_dir:
    type: Path | None
  cxx_binary:
    type: str
returns:
  type: Path
Back to top