Package com.odiago.flumebase.parser

Examples of com.odiago.flumebase.parser.FnCallExpr.finishWindow()


      // in bucketsByTime.
      for (int i = 0; i < mAggregateExprs.size(); i++) {
        BucketIterator aggIterator = new BucketIterator(i, loTime, closeTime, bucketsByTime);
        AliasedExpr aliasExpr = mAggregateExprs.get(i);
        FnCallExpr fnCall = (FnCallExpr) aliasExpr.getExpr();
        Object result = fnCall.finishWindow(new IterableIterator(aggIterator));
        numBucketsInRangeForGroup += aggIterator.getYieldCount();
        record.put(aliasExpr.getAvroLabel(), result);
      }

      // If there are no buckets in bucketsByTime that are in our time range,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.