Package co.nubetech.crux.server.functions

Examples of co.nubetech.crux.server.functions.CruxAggregator


   */
  public static Object getResultByApplyingAllFunctions(Object value, Stack<CruxFunction> functions) throws CruxException {
    Object returnVal = value;
    for (CruxFunction fn : functions) {
      if (fn.isAggregate()) {
        CruxAggregator aggregator = (CruxAggregator) fn;
        aggregator.aggregate(returnVal);
        returnVal = ((CruxAggregator)fn).getAggregate();
        }
      else {
        returnVal = ((CruxNonAggregator)fn).execute(returnVal);     
      }
View Full Code Here

TOP

Related Classes of co.nubetech.crux.server.functions.CruxAggregator

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.