QuantileMethod (driver-core 5.5.0 API) (original) (raw)

All Known Subinterfaces:

[ApproximateQuantileMethod](ApproximateQuantileMethod.html "interface in com.mongodb.client.model")


@Sealed public interface QuantileMethod

This interface represents a quantile method used in quantile accumulators of the $group and$setWindowFields stages.

It provides methods for creating and converting quantile methods to BsonValue.

Since:

4.10

See Also:

Since server release

7.0

Returns a QuantileMethod instance representing the "approximate" quantile method.
Creates a QuantileMethod from a BsonValue in situations when there is no builder method that better satisfies your needs.