Class DynamicRangeUtil.DynamicRangeInfo

java.lang.Object
org.apache.lucene.facet.range.DynamicRangeUtil.DynamicRangeInfo
Enclosing class:
DynamicRangeUtil

public static class DynamicRangeUtil.DynamicRangeInfo extends Object
Holds parameters of a dynamic numeric range.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    the average value in the range
    int
    the number of items in the range
    long
    upper bound of the range (inclusive)
    long
    the lower bound of the range (inclusive)
    long
    the summed weight of the items in the range
  • Constructor Summary

    Constructors
    Constructor
    Description
    DynamicRangeInfo(int count, long weight, long min, long max, double centroid)
    All args constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • count

      public int count
      the number of items in the range
    • weight

      public long weight
      the summed weight of the items in the range
    • min

      public long min
      the lower bound of the range (inclusive)
    • max

      public long max
      upper bound of the range (inclusive)
    • centroid

      public double centroid
      the average value in the range
  • Constructor Details

    • DynamicRangeInfo

      public DynamicRangeInfo(int count, long weight, long min, long max, double centroid)
      All args constructor
  • Method Details