MCPcopy Create free account
hub / github.com/apache/arrow / MakeTransformInputStream

Function MakeTransformInputStream

python/pyarrow/src/arrow/python/io.cc:368–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

366};
367
368std::shared_ptr<::arrow::io::InputStream> MakeTransformInputStream(
369 std::shared_ptr<::arrow::io::InputStream> wrapped, TransformInputStreamVTable vtable,
370 PyObject* handler) {
371 TransformInputStream::TransformFunc transform(
372 TransformFunctionWrapper{std::move(vtable.transform), handler});
373 return std::make_shared<TransformInputStream>(std::move(wrapped), std::move(transform));
374}
375
376std::shared_ptr<StreamWrapFunc> MakeStreamTransformFunc(TransformInputStreamVTable vtable,
377 PyObject* handler) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected