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

Function Value

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

Source from the content-addressed store, hash-verified

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

Callers 1

GetViewFunction · 0.70

Calls 2

GetValueFunction · 0.70
GetBitFunction · 0.50

Tested by

no test coverage detected