ArrowCStream.owned constructor

ArrowCStream.owned(
  1. ArrowCBridge _bridge,
  2. Pointer<CArrowArrayStream> pointer
)

Internal transport constructor; applications obtain instances from Polars.

Implementation

ArrowCStream.owned(this._bridge, this.pointer) {
  try {
    _attachment = _bridge.attachStream(this, pointer);
  } catch (_) {
    _bridge.deleteStream(null, pointer);
    rethrow;
  }
}