public class PercentileFunctionExtension
extends org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregator
percentile(value, p)
Returns an estimate for the pth percentile of the stored values.
Accept Type(s): value: FLOAT,INT,LONG,DOUBLE / p: DOUBLE
Return Type: DOUBLE| Constructor and Description |
|---|
PercentileFunctionExtension() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
currentState() |
org.wso2.siddhi.query.api.definition.Attribute.Type |
getReturnType() |
protected void |
init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext) |
Object |
processAdd(Object data) |
Object |
processAdd(Object[] data) |
Object |
processRemove(Object data) |
Object |
processRemove(Object[] data) |
Object |
reset() |
void |
restoreState(Object[] state) |
void |
start() |
void |
stop() |
protected void init(org.wso2.siddhi.core.executor.ExpressionExecutor[] attributeExpressionExecutors,
org.wso2.siddhi.core.config.ExecutionPlanContext executionPlanContext)
init in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic org.wso2.siddhi.query.api.definition.Attribute.Type getReturnType()
getReturnType in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic Object processAdd(Object data)
processAdd in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic Object processAdd(Object[] data)
processAdd in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic Object processRemove(Object data)
processRemove in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic Object processRemove(Object[] data)
processRemove in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic Object reset()
reset in class org.wso2.siddhi.core.query.selector.attribute.aggregator.AttributeAggregatorpublic void start()
public void stop()
public Object[] currentState()
public void restoreState(Object[] state)
Copyright © 2019 WSO2. All Rights Reserved.