FunctionTDigestT Method
Computes the requested percentiles of an expression, directly on the server side.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.3.0
A dictionary containing the percentiles.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.3.0
C#
public static IDictionary<string, float> TDigest<T>(
Expression<Func<T>> keySelector,
params float[] percentiles
)
VB
Public Shared Function TDigest(Of T) (
keySelector As Expression(Of Func(Of T)),
ParamArray percentiles As Single()
) As IDictionary(Of String, Single)Parameters
- keySelector ExpressionFuncT
- The
- percentiles Single
Type Parameters
- T
- The type of the expression.
Return Value
IDictionaryString, SingleA dictionary containing the percentiles.