Module org.elasticsearch.server
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
,ToXContent
,ToXContentObject
- Enclosing class:
- GetDataStreamAction.Response
public static class GetDataStreamAction.Response.DataStreamInfo
extends Object
implements SimpleDiffable<GetDataStreamAction.Response.DataStreamInfo>, 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
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
static final ParseField
Fields inherited from interface org.elasticsearch.cluster.SimpleDiffable
EMPTY
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionDataStreamInfo
(DataStream dataStream, ClusterHealthStatus dataStreamStatus, String indexTemplate, String ilmPolicyName, GetDataStreamAction.Response.TimeSeries timeSeries) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
toXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.cluster.SimpleDiffable
diff
Methods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
STATUS_FIELD
-
INDEX_TEMPLATE_FIELD
-
ILM_POLICY_FIELD
-
HIDDEN_FIELD
-
SYSTEM_FIELD
-
ALLOW_CUSTOM_ROUTING
-
REPLICATED
-
TIME_SERIES
-
TEMPORAL_RANGES
-
TEMPORAL_RANGE_START
-
TEMPORAL_RANGE_END
-
-
Constructor Details
-
DataStreamInfo
public DataStreamInfo(DataStream dataStream, ClusterHealthStatus dataStreamStatus, @Nullable String indexTemplate, @Nullable String ilmPolicyName, @Nullable GetDataStreamAction.Response.TimeSeries timeSeries)
-
-
Method Details
-
getDataStream
-
getDataStreamStatus
-
getIndexTemplate
-
getIlmPolicy
-
getTimeSeries
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-