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 boolean
Required - Whether the remote cluster is connected to the local (querying) cluster.final String
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).final Boolean
Whether the index expression provided in the request matches any indices, aliases or data streams on the cluster.static ResolveClusterInfo
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 boolean
Required - Theskip_unavailable
setting 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupResolveClusterInfoDeserializer
protected static void setupResolveClusterInfoDeserializer(ObjectDeserializer<ResolveClusterInfo.Builder> op)
-