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

Function Value

cpp/src/arrow/array/array_primitive.h:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 using IteratorType = stl::ArrayIterator<BooleanArray>;
46
47 explicit BooleanArray(const std::shared_ptr<ArrayData>& data);
48
49 BooleanArray(int64_t length, const std::shared_ptr<Buffer>& data,
50 const std::shared_ptr<Buffer>& null_bitmap = NULLPTR,
51 int64_t null_count = kUnknownNullCount, int64_t offset = 0);
52
53 bool Value(int64_t i) const {
54 return bit_util::GetBit(reinterpret_cast<const uint8_t*>(raw_values_),
55 i + data_->offset);
56 }
57
58 bool GetView(int64_t i) const { return Value(i); }
59

Callers 1

GetViewFunction · 0.70

Calls 2

GetValueFunction · 0.70
GetBitFunction · 0.50

Tested by

no test coverage detected