Class ResolveClusterInfo
java.lang.Object
co.elastic.clients.elasticsearch.indices.resolve_cluster.ResolveClusterInfo
- All Implemented Interfaces:
JsonpSerializable
Provides information about each cluster request relevant to doing a
cross-cluster search.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ResolveClusterInfo>Json deserializer forResolveClusterInfo -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Whether the remote cluster is connected to the local (querying) cluster.final Stringerror()Provides error messages that are likely to occur if you do a search with this index expression on the specified cluster (for example, lack of security privileges to query an index).final BooleanWhether the index expression provided in the request matches any indices, aliases or data streams on the cluster.static ResolveClusterInfovoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal booleanRequired - Theskip_unavailablesetting for a remote cluster.toString()version()Provides version information about the cluster.
-
Field Details
-
_DESERIALIZER
Json deserializer forResolveClusterInfo
-
-
Method Details
-
of
public static ResolveClusterInfo of(Function<ResolveClusterInfo.Builder, ObjectBuilder<ResolveClusterInfo>> fn) -
connected
public final boolean connected()Required - Whether the remote cluster is connected to the local (querying) cluster.API name:
connected -
matchingIndices
Whether the index expression provided in the request matches any indices, aliases or data streams on the cluster.API name:
matching_indices -
error
Provides error messages that are likely to occur if you do a search with this index expression on the specified cluster (for example, lack of security privileges to query an index).API name:
error -
version
Provides version information about the cluster.API name:
version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupResolveClusterInfoDeserializer
protected static void setupResolveClusterInfoDeserializer(ObjectDeserializer<ResolveClusterInfo.Builder> op)
-