Class DataStreamsStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.indices.DataStreamsStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class DataStreamsStatsResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamsStatsResponse>Json deserializer forDataStreamsStatsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - Total number of backing indices for the selected data streams.final intRequired - Total number of selected data streams.final List<DataStreamsStatsItem>Required - Contains statistics for the selected data streams.static DataStreamsStatsResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStatisticsshards()Required - Contains information about shards that attempted to execute the request.toString()final longRequired - Total size, in bytes, of all shards for the selected data streams.final StringTotal size of all shards for the selected data streams.
-
Field Details
-
_DESERIALIZER
Json deserializer forDataStreamsStatsResponse
-
-
Method Details
-
of
public static DataStreamsStatsResponse of(Function<DataStreamsStatsResponse.Builder, ObjectBuilder<DataStreamsStatsResponse>> fn) -
shards
Required - Contains information about shards that attempted to execute the request.API name:
_shards -
backingIndices
public final int backingIndices()Required - Total number of backing indices for the selected data streams.API name:
backing_indices -
dataStreamCount
public final int dataStreamCount()Required - Total number of selected data streams.API name:
data_stream_count -
dataStreams
Required - Contains statistics for the selected data streams.API name:
data_streams -
totalStoreSizes
Total size of all shards for the selected data streams. This property is included only if thehumanquery parameter istrueAPI name:
total_store_sizes -
totalStoreSizeBytes
public final long totalStoreSizeBytes()Required - Total size, in bytes, of all shards for the selected data streams.API name:
total_store_size_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamsStatsResponseDeserializer
protected static void setupDataStreamsStatsResponseDeserializer(ObjectDeserializer<DataStreamsStatsResponse.Builder> op)
-