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  

    Fields inherited from interface org.opensearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • 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.

    Methods inherited from class org.opensearch.cluster.AbstractDiffable

    diff, readDiffFrom

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.opensearch.common.xcontent.ToXContentObject

    isFragment
  • 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

  • Method Details

    • getDataStream

      public DataStream getDataStream()
    • getDataStreamStatus

      public ClusterHealthStatus getDataStreamStatus()
    • getIndexTemplate

      @Nullable public java.lang.String getIndexTemplate()
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • 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 interface org.opensearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object