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

Function CreateDecimal

cpp/src/generated/Schema_generated.h:1505–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503};
1504
1505inline ::flatbuffers::Offset<Decimal> CreateDecimal(
1506 ::flatbuffers::FlatBufferBuilder &_fbb,
1507 int32_t precision = 0,
1508 int32_t scale = 0,
1509 int32_t bitWidth = 128) {
1510 DecimalBuilder builder_(_fbb);
1511 builder_.add_bitWidth(bitWidth);
1512 builder_.add_scale(scale);
1513 builder_.add_precision(precision);
1514 return builder_.Finish();
1515}
1516
1517/// Date is either a 32-bit or 64-bit signed integer type representing an
1518/// elapsed time since UNIX epoch (1970-01-01), stored in either of two units:

Callers 1

VisitMethod · 0.85

Calls 4

add_scaleMethod · 0.80
add_bitWidthMethod · 0.45
add_precisionMethod · 0.45
FinishMethod · 0.45

Tested by

no test coverage detected