java.lang.Object
org.elasticsearch.index.fielddata.FieldDataStats
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentFragment
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The global ordinal stats.Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested 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 TypeMethodDescriptionvoid
add
(FieldDataStats stats) boolean
long
long
int
hashCode()
toXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-