Class DataStreamsStatsItem
java.lang.Object
co.elastic.clients.elasticsearch.indices.data_streams_stats.DataStreamsStatsItem
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamsStatsItem>Json deserializer forDataStreamsStatsItem -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - Current number of backing indices for the data stream.final StringRequired - Name of the data stream.final longRequired - The data stream’s highest@timestampvalue, converted to milliseconds since the Unix epoch.static DataStreamsStatsItemvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringTotal size of all shards for the data stream’s backing indices.final longRequired - 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@timestampvalue, converted to milliseconds since the Unix epoch. NOTE: This timestamp is provided as a best effort. The data stream may contain@timestampvalues 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@timestampvalues.API name:
maximum_timestamp -
storeSize
Total size of all shards for the data stream’s backing indices. This parameter is only returned if thehumanquery parameter istrue.API name:
store_size -
storeSizeBytes
public final long 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamsStatsItemDeserializer
protected static void setupDataStreamsStatsItemDeserializer(ObjectDeserializer<DataStreamsStatsItem.Builder> op)
-