Package org.apache.phoenix.expression.aggregator

Examples of org.apache.phoenix.expression.aggregator.DecimalStddevPopAggregator


    @Override
    public DistinctValueWithCountClientAggregator newClientAggregator() {
        if (children.get(0).getDataType() == PDataType.DECIMAL) {
            // Special Aggregators for DECIMAL datatype for more precision than double
            return new DecimalStddevPopAggregator(children, getAggregatorExpression().getSortOrder());
        }
        return new StddevPopAggregator(children, getAggregatorExpression().getSortOrder());
    }
View Full Code Here

TOP

Related Classes of org.apache.phoenix.expression.aggregator.DecimalStddevPopAggregator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.