Class GetDataStreamAction.Response.DataStreamInfo
java.lang.Object
org.elasticsearch.action.datastreams.GetDataStreamAction.Response.DataStreamInfo
- All Implemented Interfaces:
Diffable<GetDataStreamAction.Response.DataStreamInfo>,SimpleDiffable<GetDataStreamAction.Response.DataStreamInfo>,Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
- GetDataStreamAction.Response
public static class GetDataStreamAction.Response.DataStreamInfo
extends Object
implements SimpleDiffable<GetDataStreamAction.Response.DataStreamInfo>, org.elasticsearch.xcontent.ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.SimpleDiffable
SimpleDiffable.CompleteDiff<T extends Diffable<T>>Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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 org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldstatic final org.elasticsearch.xcontent.ParseFieldFields inherited from interface org.elasticsearch.cluster.SimpleDiffable
EMPTYFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionDataStreamInfo(DataStream dataStream, ClusterHealthStatus dataStreamStatus, String indexTemplate, String ilmPolicyName) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.cluster.SimpleDiffable
diffMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
STATUS_FIELD
public static final org.elasticsearch.xcontent.ParseField STATUS_FIELD -
INDEX_TEMPLATE_FIELD
public static final org.elasticsearch.xcontent.ParseField INDEX_TEMPLATE_FIELD -
ILM_POLICY_FIELD
public static final org.elasticsearch.xcontent.ParseField ILM_POLICY_FIELD -
HIDDEN_FIELD
public static final org.elasticsearch.xcontent.ParseField HIDDEN_FIELD -
SYSTEM_FIELD
public static final org.elasticsearch.xcontent.ParseField SYSTEM_FIELD -
ALLOW_CUSTOM_ROUTING
public static final org.elasticsearch.xcontent.ParseField ALLOW_CUSTOM_ROUTING -
REPLICATED
public static final org.elasticsearch.xcontent.ParseField REPLICATED
-
-
Constructor Details
-
DataStreamInfo
public DataStreamInfo(DataStream dataStream, ClusterHealthStatus dataStreamStatus, @Nullable String indexTemplate, @Nullable String ilmPolicyName) -
DataStreamInfo
- Throws:
IOException
-
-
Method Details
-
getDataStream
-
getDataStreamStatus
-
getIndexTemplate
-
getIlmPolicy
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-