Class DataStreamsStatsItem
java.lang.Object
co.elastic.clients.elasticsearch.indices.data_streams_stats.DataStreamsStatsItem
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamsStatsItem>
Json deserializer forDataStreamsStatsItem
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - Current number of backing indices for the data stream.final String
Required - Name of the data stream.final long
Required - The data stream’s highest@timestamp
value, converted to milliseconds since the Unix epoch.static DataStreamsStatsItem
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
Total size of all shards for the data stream’s backing indices.final int
Required - Total size, in bytes, of all shards for the data stream’s backing indices.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamsStatsItem
-
-
Method Details
-
of
public static DataStreamsStatsItem of(Function<DataStreamsStatsItem.Builder, ObjectBuilder<DataStreamsStatsItem>> fn) -
backingIndices
public final int backingIndices()Required - Current number of backing indices for the data stream.API name:
backing_indices
-
dataStream
Required - Name of the data stream.API name:
data_stream
-
maximumTimestamp
public final long maximumTimestamp()Required - The data stream’s highest@timestamp
value, converted to milliseconds since the Unix epoch. NOTE: This timestamp is provided as a best effort. The data stream may contain@timestamp
values higher than this if one or more of the following conditions are met: The stream contains closed backing indices; Backing indices with a lower generation contain higher@timestamp
values.API name:
maximum_timestamp
-
storeSize
Total size of all shards for the data stream’s backing indices. This parameter is only returned if thehuman
query parameter istrue
.API name:
store_size
-
storeSizeBytes
public final int storeSizeBytes()Required - Total size, in bytes, of all shards for the data stream’s backing indices.API name:
store_size_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamsStatsItemDeserializer
protected static void setupDataStreamsStatsItemDeserializer(ObjectDeserializer<DataStreamsStatsItem.Builder> op)
-