Class DataStreamsStatsAction.DataStreamStats
java.lang.Object
org.opensearch.action.admin.indices.datastream.DataStreamsStatsAction.DataStreamStats
- All Implemented Interfaces:
Writeable
,org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentObject
- Enclosing class:
- DataStreamsStatsAction
public static class DataStreamsStatsAction.DataStreamStats extends java.lang.Object implements org.opensearch.common.xcontent.ToXContentObject, Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DataStreamStats(java.lang.String dataStream, int backingIndices, ByteSizeValue storeSize, long maximumTimestamp)
DataStreamStats(StreamInput in)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getBackingIndices()
java.lang.String
getDataStream()
long
getMaximumTimestamp()
ByteSizeValue
getStoreSize()
int
hashCode()
java.lang.String
toString()
org.opensearch.common.xcontent.XContentBuilder
toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params)
void
writeTo(StreamOutput out)
Write this into the StreamOutput.
-
Constructor Details
-
DataStreamStats
public DataStreamStats(java.lang.String dataStream, int backingIndices, ByteSizeValue storeSize, long maximumTimestamp) -
DataStreamStats
- Throws:
java.io.IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput. -
toXContent
public org.opensearch.common.xcontent.XContentBuilder toXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceorg.opensearch.common.xcontent.ToXContent
- Throws:
java.io.IOException
-
getDataStream
public java.lang.String getDataStream() -
getBackingIndices
public int getBackingIndices() -
getStoreSize
-
getMaximumTimestamp
public long getMaximumTimestamp() -
equals
public boolean equals(java.lang.Object obj)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-