Module org.elasticsearch.server
Class IndexDiskUsageStats
java.lang.Object
org.elasticsearch.action.admin.indices.diskusage.IndexDiskUsageStats
- All Implemented Interfaces:
Writeable,ToXContent,ToXContentFragment
The result of analyzing disk usage of each field in a shard/index
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDisk usage stats for a single fieldNested 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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(IndexDiskUsageStats other) voidaddDocValues(String fieldName, long bytes) voidaddInvertedIndex(String fieldName, long bytes) voidaddKnnVectors(String fieldName, long bytes) voidvoidvoidaddStoredField(String fieldName, long bytes) voidaddTermVectors(String fieldName, long bytes) toString()toXContent(XContentBuilder builder, 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.xcontent.ToXContentFragment
isFragment
-
Field Details
-
TOTAL
- See Also:
-
TOTAL_IN_BYTES
- See Also:
-
INVERTED_INDEX
- See Also:
-
STORED_FIELDS
- See Also:
-
STORED_FIELDS_IN_BYTES
- See Also:
-
DOC_VALUES
- See Also:
-
DOC_VALUES_IN_BYTES
- See Also:
-
POINTS
- See Also:
-
POINTS_IN_BYTES
- See Also:
-
NORMS
- See Also:
-
NORMS_IN_BYTES
- See Also:
-
TERM_VECTORS
- See Also:
-
TERM_VECTORS_IN_BYTES
- See Also:
-
KNN_VECTORS
- See Also:
-
KNN_VECTORS_IN_BYTES
- See Also:
-
STORE_SIZE
- See Also:
-
STORE_SIZE_IN_BYTES
- See Also:
-
-
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
-
addKnnVectors
-
add
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
toString
-