Class IndexDiskUsageStats
java.lang.Object
org.elasticsearch.action.admin.indices.diskusage.IndexDiskUsageStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
public final class IndexDiskUsageStats
extends Object
implements org.elasticsearch.common.xcontent.ToXContentFragment, Writeable
The result of analyzing disk usage of each field in a shard/index
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDisk usage stats for a single fieldNested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.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 Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic StringFields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(IndexDiskUsageStats other)voidaddDocValues(String fieldName, long bytes)voidaddInvertedIndex(String fieldName, long bytes)voidvoidvoidaddStoredField(String fieldName, long bytes)voidaddTermVectors(String fieldName, long bytes)toString()org.elasticsearch.common.xcontent.XContentBuildertoXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)voidwriteTo(StreamOutput out)Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
Field Details
-
TOTAL
- See Also:
- Constant Field Values
-
TOTAL_IN_BYTES
- See Also:
- Constant Field Values
-
INVERTED_INDEX
- See Also:
- Constant Field Values
-
STORED_FIELDS
- See Also:
- Constant Field Values
-
STORED_FIELDS_IN_BYTES
- See Also:
- Constant Field Values
-
DOC_VALUES
- See Also:
- Constant Field Values
-
DOC_VALUES_IN_BYTES
- See Also:
- Constant Field Values
-
POINTS
- See Also:
- Constant Field Values
-
POINTS_IN_BYTES
- See Also:
- Constant Field Values
-
NORMS
- See Also:
- Constant Field Values
-
NORMS_IN_BYTES
- See Also:
- Constant Field Values
-
TERM_VECTORS
- See Also:
- Constant Field Values
-
TERM_VECTORS_IN_BYTES
- See Also:
- Constant Field Values
-
STORE_SIZE
- See Also:
- Constant Field Values
-
STORE_SIZE_IN_BYTES
- See Also:
- Constant Field Values
-
-
Constructor Details
-
IndexDiskUsageStats
public IndexDiskUsageStats(long indexSizeInBytes) -
IndexDiskUsageStats
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
addInvertedIndex
-
addStoredField
-
addDocValues
-
addPoints
-
addNorms
-
addTermVectors
-
add
-
toXContent
public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.common.xcontent.ToXContent- Throws:
IOException
-
toString
-