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
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, EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionDataStreamInfo
(DataStream dataStream, ClusterHealthStatus dataStreamStatus, String indexTemplate, String ilmPolicyName, GetDataStreamAction.Response.TimeSeries timeSeries, Map<Index, GetDataStreamAction.Response.IndexProperties> indexSettingsValues, boolean templatePreferIlmValue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Computes and returns which system will manage the next generation for this data stream.int
hashCode()
boolean
toXContent
(XContentBuilder builder, ToXContent.Params params) toXContent
(XContentBuilder builder, ToXContent.Params params, RolloverConfiguration rolloverConfiguration) Converts the response to XContent and passes the RolloverConditions, when provided, to the data stream.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
-
PREFER_ILM
-
MANAGED_BY
-
NEXT_GENERATION_INDEX_MANAGED_BY
-
ILM_POLICY_FIELD
-
LIFECYCLE_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, Map<Index, GetDataStreamAction.Response.IndexProperties> indexSettingsValues, boolean templatePreferIlmValue)
-
-
Method Details
-
getDataStream
-
getDataStreamStatus
-
getIndexTemplate
-
getIlmPolicy
-
getTimeSeries
-
getIndexSettingsValues
-
templatePreferIlmValue
public boolean templatePreferIlmValue() -
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
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params, @Nullable RolloverConfiguration rolloverConfiguration) throws IOException Converts the response to XContent and passes the RolloverConditions, when provided, to the data stream.- Throws:
IOException
-
getNextGenerationManagedBy
Computes and returns which system will manage the next generation for this data stream. -
equals
-
hashCode
public int hashCode()
-