java.lang.Object
org.elasticsearch.index.fielddata.FieldDataStats
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe global ordinal stats.Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionFieldDataStats(long memorySize, long evictions, FieldMemoryStats fields, FieldDataStats.GlobalOrdinalsStats globalOrdinalsStats) -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(FieldDataStats stats) booleanlonglonginthashCode()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
FieldDataStats
public FieldDataStats() -
FieldDataStats
- Throws:
IOException
-
FieldDataStats
public FieldDataStats(long memorySize, long evictions, @Nullable FieldMemoryStats fields, FieldDataStats.GlobalOrdinalsStats globalOrdinalsStats)
-
-
Method Details
-
add
-
getMemorySizeInBytes
public long getMemorySizeInBytes() -
getMemorySize
-
getEvictions
public long getEvictions() -
getFields
-
getGlobalOrdinalsStats
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-