Package org.opensearch.client.indices
Class DataStreamsStatsResponse
- java.lang.Object
-
- org.opensearch.client.core.BroadcastResponse
-
- org.opensearch.client.indices.DataStreamsStatsResponse
-
public class DataStreamsStatsResponse extends BroadcastResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataStreamsStatsResponse.DataStreamStats-
Nested classes/interfaces inherited from class org.opensearch.client.core.BroadcastResponse
BroadcastResponse.Shards
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDataStreamsStatsResponse(BroadcastResponse.Shards shards, int dataStreamCount, int backingIndices, org.opensearch.common.unit.ByteSizeValue totalStoreSize, java.util.Map<java.lang.String,DataStreamsStatsResponse.DataStreamStats> dataStreams)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static DataStreamsStatsResponsefromXContent(org.opensearch.common.xcontent.XContentParser parser)intgetBackingIndices()intgetDataStreamCount()java.util.Map<java.lang.String,DataStreamsStatsResponse.DataStreamStats>getDataStreams()org.opensearch.common.unit.ByteSizeValuegetTotalStoreSize()inthashCode()java.lang.StringtoString()-
Methods inherited from class org.opensearch.client.core.BroadcastResponse
declareShardsField, shards
-
-
-
-
Constructor Detail
-
DataStreamsStatsResponse
protected DataStreamsStatsResponse(BroadcastResponse.Shards shards, int dataStreamCount, int backingIndices, org.opensearch.common.unit.ByteSizeValue totalStoreSize, java.util.Map<java.lang.String,DataStreamsStatsResponse.DataStreamStats> dataStreams)
-
-
Method Detail
-
fromXContent
public static DataStreamsStatsResponse fromXContent(org.opensearch.common.xcontent.XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
getDataStreamCount
public int getDataStreamCount()
-
getBackingIndices
public int getBackingIndices()
-
getTotalStoreSize
public org.opensearch.common.unit.ByteSizeValue getTotalStoreSize()
-
getDataStreams
public java.util.Map<java.lang.String,DataStreamsStatsResponse.DataStreamStats> getDataStreams()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-