Examples of collectStats()


Examples of com.esri.gpt.catalog.lucene.stats.SingleFieldStats.collectStats()

          maxRecs = Val.chkInt(this.getParameterValue(request,"maxrecords"),-1);
        }
        int minFreq = Val.chkInt(this.getParameterValue(request,"minFrequency"),-1);
        int maxFreq = Val.chkInt(this.getParameterValue(request,"maxFrequency"),-1);
        SingleFieldStats stats = new SingleFieldStats(field,maxRecs,minFreq,maxFreq);
        stats.collectStats(statsRequest,reader);
//      } else if (term.length() > 0) {
//        SingleTermStats stats = new SingleTermStats(term);
//        stats.collectStats(statsRequest,reader);  
//      } else if (pathInfo.equals("terms")){
//        GlobalTermStats stats = new GlobalTermStats();
View Full Code Here

Examples of com.esri.gpt.catalog.lucene.stats.SingleFieldStats.collectStats()

//        GlobalTermStats stats = new GlobalTermStats();
//        stats.collectStats(statsRequest,reader); 
      } else {
        //GlobalFieldStats stats = new GlobalFieldStats();
        SummaryStats stats = new SummaryStats();
        stats.collectStats(statsRequest,reader)
      }
   
   // } catch (Exception ex) {

    //  response.setContentType("text/plain;charset=UTF-8");
View Full Code Here

Examples of com.esri.gpt.catalog.lucene.stats.SummaryStats.collectStats()

//        GlobalTermStats stats = new GlobalTermStats();
//        stats.collectStats(statsRequest,reader); 
      } else {
        //GlobalFieldStats stats = new GlobalFieldStats();
        SummaryStats stats = new SummaryStats();
        stats.collectStats(statsRequest,reader)
      }
   
   // } catch (Exception ex) {

    //  response.setContentType("text/plain;charset=UTF-8");
View Full Code Here

Examples of net.opentsdb.core.TSDB.collectStats()

      final double time_delta = (System.nanoTime() - start_time) / 1000000000.0;
      LOG.info(String.format("Total: imported %d data points in %.3fs"
                             + " (%.1f points/s)",
                             points, time_delta, (points / time_delta)));
      // TODO(tsuna): Figure out something better than just writing to stderr.
      tsdb.collectStats(new StatsCollector("tsd") {
        @Override
        public final void emit(final String line) {
          System.err.print(line);
        }
      });
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.