Spring Data Elasticsearch

org.springframework.data.elasticsearch.core.facet.result
Class Range

java.lang.Object
  extended by org.springframework.data.elasticsearch.core.facet.result.Range

public class Range
extends Object

Single range

Author:
Rizwan Idrees, Mohsin Husen, Artur Konczak, Jonathan Yan

Constructor Summary
Range(Double from, Double to, long count, double total, double totalCount, double min, double max)
           
 
Method Summary
 long getCount()
          Return number of documents in range
 Double getFrom()
           
 double getMax()
           
 double getMin()
           
 Double getTo()
           
 double getTotal()
           
 double getTotalCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(Double from,
             Double to,
             long count,
             double total,
             double totalCount,
             double min,
             double max)
Method Detail

getFrom

public Double getFrom()

getTo

public Double getTo()

getCount

public long getCount()
Return number of documents in range

Returns:

getTotal

public double getTotal()

getTotalCount

public double getTotalCount()

getMin

public double getMin()

getMax

public double getMax()

Spring Data Elasticsearch

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.