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

Method MakeInt32

cpp/src/gandiva/selection_vector.cc:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114Status SelectionVector::MakeInt32(int64_t max_slots,
115 std::shared_ptr<arrow::Buffer> buffer,
116 std::shared_ptr<SelectionVector>* selection_vector) {
117 ARROW_RETURN_NOT_OK(SelectionVectorInt32::ValidateBuffer(max_slots, buffer));
118 *selection_vector = std::make_shared<SelectionVectorInt32>(max_slots, buffer);
119
120 return Status::OK();
121}
122
123Status SelectionVector::MakeInt32(int64_t max_slots, arrow::MemoryPool* pool,
124 std::shared_ptr<SelectionVector>* selection_vector) {

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50
AllocateBufferFunction · 0.50

Tested by

no test coverage detected