MCPcopy Create free account
hub / github.com/questdb/questdb / load

Method load

core/src/main/java/io/questdb/griffin/DecimalUtil.java:193–196  ·  view source on GitHub ↗

Load any decimal value from a Function into a Decimal256

(Decimal256 decimal, Decimal128 decimal128, Function value, @Nullable Record rec)

Source from the content-addressed store, hash-verified

191 * Load any decimal value from a Function into a Decimal256
192 */
193 public static void load(Decimal256 decimal, Decimal128 decimal128, Function value, @Nullable Record rec) {
194 final int fromType = value.getType();
195 load(decimal, decimal128, value, rec, fromType);
196 }
197
198 /**
199 * Load any decimal value from a Function into a Decimal256

Callers 15

assertLoadDecimalMethod · 0.95
assertLoadDecimal256Method · 0.95
assertLoadNullDecimalMethod · 0.95
assertAvgMethod · 0.95
assertAvgFuzzMethod · 0.95
assertSumMethod · 0.95
assertSumFuzzMethod · 0.95
testDivRandomValuesMethod · 0.95

Calls 15

tagOfMethod · 0.95
getDecimalScaleMethod · 0.95
getTypeMethod · 0.65
getDecimal8Method · 0.65
ofNullMethod · 0.65
getDecimal16Method · 0.65
getDecimal32Method · 0.65
getDecimal64Method · 0.65
getDecimal128Method · 0.65
isNullMethod · 0.65
ofMethod · 0.65
getDecimal256Method · 0.65

Tested by 14

assertLoadDecimalMethod · 0.76
assertLoadDecimal256Method · 0.76
assertLoadNullDecimalMethod · 0.76
assertAvgMethod · 0.76
assertAvgFuzzMethod · 0.76
assertSumMethod · 0.76
assertSumFuzzMethod · 0.76
testDivRandomValuesMethod · 0.76