Package org.apache.solr.request.mdrill.MdrillUtils

Examples of org.apache.solr.request.mdrill.MdrillUtils.RefRowStat


    this.statVal = value;
  }

  public RefRowStat gerRowStat(Integer fieldIndex)
  {
    RefRowStat stat=statVal.stat[fieldIndex];
    if (stat == null) {
      return null;
    }
   
    if(stat.issetup)
View Full Code Here


      }
      return cmp;
    }
   
    public long getCompareValue(ShardGroupByTermNum g, Integer field) {
      RefRowStat s = g.gerRowStat(field);
      if (s != null) {
        return s.cnt;
      }
      return 0;
    }
View Full Code Here

      }
      return cmp;
    }
   
    public double getCompareValue(ShardGroupByTermNum g, Integer field) {
      RefRowStat s = g.gerRowStat(field);
      if (s != null) {
        return s.sum;
      }
      return 0;
    }
View Full Code Here

      }
      return cmp;
    }
   
    public double getCompareValue(ShardGroupByTermNum g, Integer field) {
      RefRowStat s = g.gerRowStat(field);
      if (s != null) {
        return s.max;
      }
      return 0;
    }
View Full Code Here

      }
      return cmp;
    }
   
    public double getCompareValue(ShardGroupByTermNum g, Integer field) {
      RefRowStat s = g.gerRowStat(field);
      if (s != null) {
        return s.min;
      }
      return 0;
    }
View Full Code Here

      }
      return cmp;
    }
   
    public double getCompareValue(ShardGroupByTermNum g,Integer field) {
      RefRowStat s=g.gerRowStat(field);
      if(s!=null)
      {
        if(s.cnt>0)
        {
          return s.sum/s.cnt;
View Full Code Here

            if(this.parse.crossFs!=null)
            {
              cnt.stat=new RefRowStat[this.parse.crossFs.length];
              for(int i=0;i<this.parse.crossFs.length;i++)
              {
                cnt.stat[i]=new RefRowStat();
              }
            }
           
           if(this.parse.distFS!=null)
           {
View Full Code Here

TOP

Related Classes of org.apache.solr.request.mdrill.MdrillUtils.RefRowStat

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.