Class SearchShardsResponse
java.lang.Object
co.elastic.clients.elasticsearch._core.SearchShardsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SearchShardsResponse extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchShardsResponse.BuilderBuilder forSearchShardsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SearchShardsResponse>_DESERIALIZERJson deserializer forSearchShardsResponse -
Constructor Summary
Constructors Constructor Description SearchShardsResponse(SearchShardsResponse.Builder builder)SearchShardsResponse(java.util.function.Function<SearchShardsResponse.Builder,SearchShardsResponse.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,ShardStoreIndex>indices()Required - API name:indicesjava.util.Map<java.lang.String,NodeAttributes>nodes()Required - API name:nodesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSearchShardsResponseDeserializer(DelegatingDeserializer<SearchShardsResponse.Builder> op)java.util.List<java.util.List<NodeShard>>shards()Required - API name:shardsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSearchShardsResponse
-
-
Constructor Details
-
SearchShardsResponse
-
SearchShardsResponse
public SearchShardsResponse(java.util.function.Function<SearchShardsResponse.Builder,SearchShardsResponse.Builder> fn)
-
-
Method Details
-
nodes
Required - API name:nodes -
shards
Required - API name:shards -
indices
Required - API name:indices -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupSearchShardsResponseDeserializer
protected static void setupSearchShardsResponseDeserializer(DelegatingDeserializer<SearchShardsResponse.Builder> op)
-