Class SearchShardsResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.SearchShardsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SearchShardsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchShardsResponse.Builder
Builder forSearchShardsResponse
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SearchShardsResponse>
_DESERIALIZER
Json deserializer forSearchShardsResponse
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,ShardStoreIndex>
indices()
Required - API name:indices
java.util.Map<java.lang.String,NodeAttributes>
nodes()
Required - API name:nodes
static SearchShardsResponse
of(java.util.function.Function<SearchShardsResponse.Builder,ObjectBuilder<SearchShardsResponse>> fn)
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
setupSearchShardsResponseDeserializer(ObjectDeserializer<SearchShardsResponse.Builder> op)
java.util.List<java.util.List<NodeShard>>
shards()
Required - API name:shards
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSearchShardsResponse
-
-
Method Details
-
of
public static SearchShardsResponse of(java.util.function.Function<SearchShardsResponse.Builder,ObjectBuilder<SearchShardsResponse>> fn) -
nodes
Required - API name:nodes
-
shards
Required - API name:shards
-
indices
Required - API name:indices
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSearchShardsResponseDeserializer
protected static void setupSearchShardsResponseDeserializer(ObjectDeserializer<SearchShardsResponse.Builder> op)
-