Class KnnStatsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.knn.KnnStatsRequest
- All Implemented Interfaces:
ToCopyableBuilder<KnnStatsRequest.Builder,KnnStatsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class KnnStatsRequest
extends RequestBase
implements ToCopyableBuilder<KnnStatsRequest.Builder,KnnStatsRequest>
Provides information about the current status of the k-NN plugin.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<KnnStatsRequest, KnnStatsResponse, ErrorResponse> Endpoint "knn.stats". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static KnnStatsRequest.Builderbuilder()booleaninthashCode()nodeId()A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodes.static KnnStatsRequestfinal List<KnnStatName> stat()A comma-separated list of stats to retrieve; use_allor empty string to retrieve all stats.final Timetimeout()Operation timeout.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "knn.stats".
-
-
Method Details
-
of
public static KnnStatsRequest of(Function<KnnStatsRequest.Builder, ObjectBuilder<KnnStatsRequest>> fn) -
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodes.API name:
node_id -
stat
A comma-separated list of stats to retrieve; use_allor empty string to retrieve all stats.API name:
stat -
timeout
Operation timeout.API name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<KnnStatsRequest.Builder,KnnStatsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-