Module org.elasticsearch.xcore
Class FieldStats
java.lang.Object
org.elasticsearch.xpack.core.textstructure.structurefinder.FieldStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<FieldStats, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionFieldStats(long count, int cardinality, Double minValue, Double maxValue, Double meanValue, Double medianValue, List<Map<String, Object>> topHits) FieldStats(long count, int cardinality, String earliestTimestamp, String latestTimestamp, List<Map<String, Object>> topHits) FieldStats(long count, int cardinality, List<Map<String, Object>> topHits) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintlonggetCount()inthashCode()static NumbertoIntegerIfInteger(double d) toString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSER
-
-
Constructor Details
-
FieldStats
-
FieldStats
-
FieldStats
-
FieldStats
- Throws:
IOException
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
getCount
public long getCount() -
getCardinality
public int getCardinality() -
getMinValue
-
getMaxValue
-
getMeanValue
-
getMedianValue
-
getEarliestTimestamp
-
getLatestTimestamp
-
getTopHits
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
toIntegerIfInteger
-
hashCode
public int hashCode() -
equals
-
toString
-