| 84 | explicit Decimal128DataGenerator(bool large) : large_(large) {} |
| 85 | |
| 86 | arrow::Decimal128 GenerateData() { |
| 87 | uint64_t low = random_.next(); |
| 88 | int64_t high = random_.next(); |
| 89 | if (large_) { |
| 90 | high += (1ull << 62); |
| 91 | } |
| 92 | return arrow::Decimal128(high, low); |
| 93 | } |
| 94 | |
| 95 | protected: |
| 96 | bool large_; |
nothing calls this directly
no test coverage detected