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

Method Bool

cpp/src/arrow/json/parser.cc:679–687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677 }
678
679 bool Bool(bool value) {
680 constexpr auto kind = Kind::kBoolean;
681 if (ARROW_PREDICT_FALSE(builder_.kind != kind)) {
682 status_ = IllegallyChangedTo(kind);
683 return status_.ok();
684 }
685 status_ = Cast<kind>(builder_)->Append(value);
686 return status_.ok();
687 }
688
689 bool RawNumber(const char* data, rj::SizeType size, ...) {
690 if (builder_.kind == Kind::kNumberOrString) {

Callers 7

VisitFieldMethod · 0.45
WriteTypeMetadataMethod · 0.45
WriteDataValuesMethod · 0.45
VisitMethod · 0.45
VisitMethod · 0.45
VisitMethod · 0.45

Calls 2

okMethod · 0.45
AppendMethod · 0.45

Tested by 2

VisitMethod · 0.36
VisitMethod · 0.36