Class CountRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.CountRequest
- All Implemented Interfaces:
ToCopyableBuilder<CountRequest.Builder,CountRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class CountRequest
extends CatRequestBase
implements ToCopyableBuilder<CountRequest.Builder,CountRequest>
Provides quick access to the document count of the entire cluster or of an individual index.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<CountRequest, CountResponse, ErrorResponse> Endpoint "cat.count". -
Method Summary
Modifier and TypeMethodDescriptionstatic CountRequest.Builderbuilder()booleaninthashCode()index()Comma-separated list of data streams, indexes, and aliases used to limit the request.static CountRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
applyQueryParameters, headers, sortMethods 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 "cat.count".
-
-
Method Details
-
of
-
index
Comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
index -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CountRequest.Builder,CountRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-