|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.search.facet.statistical.InternalStatisticalFacet
public class InternalStatisticalFacet
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.InternalFacet |
---|
InternalFacet.Stream, InternalFacet.Streams |
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.search.facet.statistical.StatisticalFacet |
---|
TYPE |
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
InternalStatisticalFacet(java.lang.String name,
double min,
double max,
double total,
double sumOfSquares,
long count)
|
Method Summary | |
---|---|
long |
count()
The number of values counted. |
long |
getCount()
The number of values counted. |
double |
getMax()
The maximum value. |
double |
getMean()
The mean (average) of the values. |
double |
getMin()
The minimum value. |
java.lang.String |
getName()
The "logical" name of the search facet. |
double |
getStdDeviation()
Standard deviation of the values. |
double |
getSumOfSquares()
The sum of squares of the values. |
double |
getTotal()
The total (sum) of values. |
java.lang.String |
getType()
The type of the facet. |
double |
getVariance()
Variance of the values. |
double |
max()
The maximum value. |
double |
mean()
The mean (average) of the values. |
double |
min()
The minimum value. |
java.lang.String |
name()
The "logical" name of the search facet. |
void |
readFrom(StreamInput in)
|
static StatisticalFacet |
readStatisticalFacet(StreamInput in)
|
static void |
registerStreams()
|
double |
stdDeviation()
Standard deviation of the values. |
java.lang.String |
streamType()
|
double |
sumOfSquares()
The sum of squares of the values. |
double |
total()
The total (sum) of values. |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params)
|
java.lang.String |
type()
The type of the facet. |
double |
variance()
Variance of the values. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalStatisticalFacet(java.lang.String name, double min, double max, double total, double sumOfSquares, long count)
Method Detail |
---|
public static void registerStreams()
public java.lang.String streamType()
streamType
in interface InternalFacet
public java.lang.String name()
Facet
name
in interface Facet
public java.lang.String getName()
Facet
getName
in interface Facet
public java.lang.String type()
Facet
type
in interface Facet
public java.lang.String getType()
Facet
getType
in interface Facet
public long count()
StatisticalFacet
count
in interface StatisticalFacet
public long getCount()
StatisticalFacet
getCount
in interface StatisticalFacet
public double total()
StatisticalFacet
total
in interface StatisticalFacet
public double getTotal()
StatisticalFacet
getTotal
in interface StatisticalFacet
public double sumOfSquares()
StatisticalFacet
sumOfSquares
in interface StatisticalFacet
public double getSumOfSquares()
StatisticalFacet
getSumOfSquares
in interface StatisticalFacet
public double mean()
StatisticalFacet
mean
in interface StatisticalFacet
public double getMean()
StatisticalFacet
getMean
in interface StatisticalFacet
public double min()
StatisticalFacet
min
in interface StatisticalFacet
public double getMin()
StatisticalFacet
getMin
in interface StatisticalFacet
public double max()
StatisticalFacet
max
in interface StatisticalFacet
public double getMax()
StatisticalFacet
getMax
in interface StatisticalFacet
public double variance()
StatisticalFacet
variance
in interface StatisticalFacet
public double getVariance()
StatisticalFacet
getVariance
in interface StatisticalFacet
public double stdDeviation()
StatisticalFacet
stdDeviation
in interface StatisticalFacet
public double getStdDeviation()
StatisticalFacet
getStdDeviation
in interface StatisticalFacet
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent
in interface ToXContent
java.io.IOException
public static StatisticalFacet readStatisticalFacet(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |