Package cascading.stats

Examples of cascading.stats.FlowStepStats


        if (bloomID.equals(targetBloomID)) {
          LOG.info("Found step generating required bloom filter: " + targetBloomID);

          // Extract the counters from the previous job to approximate the average key/tuple size
          FlowStepStats stats = ((BaseFlowStep) step).getFlowStepStats();

          // Collect some of the stats gathered. This will help configure the bloom filter
          long numSampled = Counters.get(stats, CreateBloomFilter.StatsCounters.TOTAL_SAMPLED_TUPLES);
          long keySizeSum = Counters.get(stats, CreateBloomFilter.StatsCounters.KEY_SIZE_SUM);
          long matchSizeSum = Counters.get(stats, CreateBloomFilter.StatsCounters.TUPLE_SIZE_SUM);
View Full Code Here

TOP

Related Classes of cascading.stats.FlowStepStats

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.