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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<DataStreamsStatsResponse>
Json deserializer forDataStreamsStatsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - Total number of backing indices for the selected data streams.final int
Required - Total number of selected data streams.final List<DataStreamsStatsItem>
Required - Contains statistics for the selected data streams.static DataStreamsStatsResponse
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 ShardStatistics
shards()
Required - Contains information about shards that attempted to execute the request.toString()
final int
Required - Total size, in bytes, of all shards for the selected data streams.final String
Total 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 thehuman
query parameter istrue
API name:
total_store_sizes
-
totalStoreSizeBytes
public final int 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDataStreamsStatsResponseDeserializer
protected static void setupDataStreamsStatsResponseDeserializer(ObjectDeserializer<DataStreamsStatsResponse.Builder> op)
-