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

Method Init

python/pyarrow/src/arrow/python/ipc.cc:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28PyRecordBatchReader::PyRecordBatchReader() {}
29
30Status PyRecordBatchReader::Init(std::shared_ptr<Schema> schema, PyObject* iterable) {
31 schema_ = std::move(schema);
32
33 iterator_.reset(PyObject_GetIter(iterable));
34 return CheckPyError();
35}
36
37std::shared_ptr<Schema> PyRecordBatchReader::schema() const { return schema_; }
38

Callers 1

MakeMethod · 0.45

Calls 12

CheckPyErrorFunction · 0.85
CanCastFunction · 0.85
InvalidFunction · 0.50
TypeErrorFunction · 0.50
OKFunction · 0.50
resetMethod · 0.45
schemaMethod · 0.45
num_fieldsMethod · 0.45
typeMethod · 0.45
fieldMethod · 0.45
EqualsMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected