Class BoundedQuantiles.Params.Builder

  • Enclosing class:
    BoundedQuantiles.Params

    public abstract static class BoundedQuantiles.Params.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • delta

        public abstract BoundedQuantiles.Params.Builder delta​(@Nullable
                                                              java.lang.Double value)
        Delta DP parameter.

        Note that Laplace noise does not use delta. Hence, delta should not be set when Laplace noise is used.

      • maxPartitionsContributed

        public abstract BoundedQuantiles.Params.Builder maxPartitionsContributed​(int value)
        Maximum number of partitions that a single privacy unit (e.g., an individual) is allowed to contribute to.
      • maxContributionsPerPartition

        public abstract BoundedQuantiles.Params.Builder maxContributionsPerPartition​(int value)
        Max contributions per partition from a single privacy unit (e.g., an individual).
      • lower

        public abstract BoundedQuantiles.Params.Builder lower​(double value)
        Lower bound for the entries added to the distribution. Any entires smaller than this value will be set to this value.
      • upper

        public abstract BoundedQuantiles.Params.Builder upper​(double value)
        Upper bound for the entries added to the distribution. Any entires greater than this value will be set to this value.
      • treeHeight

        public abstract BoundedQuantiles.Params.Builder treeHeight​(int value)
        The height of the quantile tree used to store the entries. Should be at least 1. This parameter is not public, it should be used only by other aggregation functions inside the library.
      • branchingFactor

        public abstract BoundedQuantiles.Params.Builder branchingFactor​(int value)
        The number of children for every non-leaf node of the quantile tree used to store the entries. Should be at least 2. This parameters is not public, it should be used only by other aggregation functions inside the library.