presto-main/src/main/java/io/prestosql/operator/aggregation/QuantileDigestAggregationFunction.java/QuantileDigestAggregationFunction/inputBigint
class QuantileDigestAggregationFunction:    public static void inputBigint(QuantileDigestState state, long value, long weight, double accuracy)
    {
        QuantileDigest qdigest = getOrCreateQuantileDigest(state, verifyAccuracy(accuracy));
        state.addMemoryUsage(-qdigest.estimatedInMemorySizeInBytes());
        qdigest.add(value, verifyWeight(weight));
        state.addMemoryUsage(qdigest.estimatedInMemorySizeInBytes());
    }