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

Method toSink

core/src/main/java/io/questdb/std/Decimal256.java:764–766  ·  view source on GitHub ↗

Writes the string representation of the given Decimal256 to the specified CharSink. The output format is a plain decimal string without scientific notation. @param sink the CharSink to write to

(@NotNull CharSink<?> sink, long hh, long hl, long lh, long ll, int scale)

Source from the content-addressed store, hash-verified

762 * @param sink the CharSink to write to
763 */
764 public static void toSink(@NotNull CharSink<?> sink, long hh, long hl, long lh, long ll, int scale) {
765 toSink(sink, hh, hl, lh, ll, scale, MAX_SCALE);
766 }
767
768 /**
769 * Writes the string representation of the given Decimal256 to the specified CharSink.

Callers 15

testFromBigDecimalMethod · 0.95
testToSinkBasicMethod · 0.95
testToSinkVsToStringMethod · 0.95
getStrAMethod · 0.95
getStrBMethod · 0.95
getDoubleMethod · 0.95
getFloatMethod · 0.95

Calls 6

isNullMethod · 0.95
compareToPowerOfTenMethod · 0.95
getDigitAtPowerOfTenMethod · 0.95
hasCarryMethod · 0.95
putMethod · 0.65
putAsciiMethod · 0.65

Tested by 8

testFromBigDecimalMethod · 0.76
testToSinkBasicMethod · 0.76
testToSinkVsToStringMethod · 0.76