Class GetDataStreamAction.Response.DataStreamInfo
java.lang.Object
org.opensearch.cluster.AbstractDiffable<GetDataStreamAction.Response.DataStreamInfo>
org.opensearch.action.admin.indices.datastream.GetDataStreamAction.Response.DataStreamInfo
- All Implemented Interfaces:
Diffable<GetDataStreamAction.Response.DataStreamInfo>
,Writeable
,org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentObject
- Enclosing class:
- GetDataStreamAction.Response
public static class GetDataStreamAction.Response.DataStreamInfo extends AbstractDiffable<GetDataStreamAction.Response.DataStreamInfo> implements org.opensearch.common.xcontent.ToXContentObject
-
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
Fields Modifier and Type Field Description static org.opensearch.common.ParseField
INDEX_TEMPLATE_FIELD
static org.opensearch.common.ParseField
STATUS_FIELD
-
Constructor Summary
Constructors Constructor Description DataStreamInfo(DataStream dataStream, ClusterHealthStatus dataStreamStatus, java.lang.String indexTemplate)
DataStreamInfo(StreamInput in)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
DataStream
getDataStream()
ClusterHealthStatus
getDataStreamStatus()
java.lang.String
getIndexTemplate()
int
hashCode()
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.
-
Field Details
-
STATUS_FIELD
public static final org.opensearch.common.ParseField STATUS_FIELD -
INDEX_TEMPLATE_FIELD
public static final org.opensearch.common.ParseField INDEX_TEMPLATE_FIELD
-
-
Constructor Details
-
DataStreamInfo
public DataStreamInfo(DataStream dataStream, ClusterHealthStatus dataStreamStatus, @Nullable java.lang.String indexTemplate) -
DataStreamInfo
- Throws:
java.io.IOException
-
-
Method Details
-
getDataStream
-
getDataStreamStatus
-
getIndexTemplate
@Nullable public java.lang.String getIndexTemplate() -
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
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-