Class FieldStats
- java.lang.Object
-
- org.elasticsearch.client.ml.filestructurefinder.FieldStats
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class FieldStats extends 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 ParseFieldCARDINALITYstatic ParseFieldCOUNTstatic ParseFieldEARLIESTstatic ParseFieldLATESTstatic ParseFieldMAX_VALUEstatic ParseFieldMEAN_VALUEstatic ParseFieldMEDIAN_VALUEstatic ParseFieldMIN_VALUEstatic ConstructingObjectParser<FieldStats,Void>PARSERstatic ParseFieldTOP_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 booleanequals(Object other)intgetCardinality()longgetCount()StringgetEarliestTimestamp()StringgetLatestTimestamp()DoublegetMaxValue()DoublegetMeanValue()DoublegetMedianValue()DoublegetMinValue()List<Map<String,Object>>getTopHits()inthashCode()XContentBuildertoXContent(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
-
EARLIEST
public static final ParseField EARLIEST
-
LATEST
public static final ParseField LATEST
-
TOP_HITS
public static final ParseField TOP_HITS
-
PARSER
public static final ConstructingObjectParser<FieldStats,Void> PARSER
-
-
Method Detail
-
getCount
public long getCount()
-
getCardinality
public int getCardinality()
-
getMinValue
public Double getMinValue()
-
getMaxValue
public Double getMaxValue()
-
getMeanValue
public Double getMeanValue()
-
getMedianValue
public Double getMedianValue()
-
getEarliestTimestamp
public String getEarliestTimestamp()
-
getLatestTimestamp
public String getLatestTimestamp()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-