Class FieldStats
- java.lang.Object
-
- org.elasticsearch.client.ml.filestructurefinder.FieldStats
-
- All Implemented Interfaces:
ToXContent
,ToXContentObject
public class FieldStats extends java.lang.Object implements ToXContentObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseField
CARDINALITY
static ParseField
COUNT
static ParseField
MAX_VALUE
static ParseField
MEAN_VALUE
static ParseField
MEDIAN_VALUE
static ParseField
MIN_VALUE
static ConstructingObjectParser<FieldStats,java.lang.Void>
PARSER
static ParseField
TOP_HITS
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
getCardinality()
long
getCount()
java.lang.Double
getMaxValue()
java.lang.Double
getMeanValue()
java.lang.Double
getMedianValue()
java.lang.Double
getMinValue()
java.util.List<java.util.Map<java.lang.String,java.lang.Object>>
getTopHits()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
COUNT
public static final ParseField COUNT
-
CARDINALITY
public static final ParseField CARDINALITY
-
MIN_VALUE
public static final ParseField MIN_VALUE
-
MAX_VALUE
public static final ParseField MAX_VALUE
-
MEAN_VALUE
public static final ParseField MEAN_VALUE
-
MEDIAN_VALUE
public static final ParseField MEDIAN_VALUE
-
TOP_HITS
public static final ParseField TOP_HITS
-
PARSER
public static final ConstructingObjectParser<FieldStats,java.lang.Void> PARSER
-
-
Method Detail
-
getCount
public long getCount()
-
getCardinality
public int getCardinality()
-
getMinValue
public java.lang.Double getMinValue()
-
getMaxValue
public java.lang.Double getMaxValue()
-
getMeanValue
public java.lang.Double getMeanValue()
-
getMedianValue
public java.lang.Double getMedianValue()
-
getTopHits
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getTopHits()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-