Package org.opensearch.client.base
Class ApiClient<Self extends ApiClient<Self>>
java.lang.Object
org.opensearch.client.base.ApiClient<Self>
- Direct Known Subclasses:
CatAsyncClient,CatClient,ClusterAsyncClient,ClusterClient,DanglingIndicesAsyncClient,DanglingIndicesClient,FeaturesAsyncClient,FeaturesClient,IndicesAsyncClient,IndicesClient,IngestAsyncClient,IngestClient,NodesAsyncClient,NodesClient,OpenSearchAsyncClient,OpenSearchClient,ShutdownAsyncClient,ShutdownClient,SnapshotAsyncClient,SnapshotClient,TasksAsyncClient,TasksClient
public abstract class ApiClient<Self extends ApiClient<Self>>
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected org.opensearch.client.RequestOptionsrequestOptionsprotected Transporttransport -
Constructor Summary
-
Method Summary
Modifier and Type Method Description protected <T> JsonpDeserializer<T>getDeserializer(java.lang.Class<T> clazz)org.opensearch.client.RequestOptionsrequestOptions()abstract SelfwithRequestOptions(org.opensearch.client.RequestOptions requestOptions)Creates a new client with some request options
-
Field Details
-
transport
-
requestOptions
@Nullable protected final org.opensearch.client.RequestOptions requestOptions
-
-
Constructor Details
-
Method Details
-
withRequestOptions
public abstract Self withRequestOptions(@Nullable org.opensearch.client.RequestOptions requestOptions)Creates a new client with some request options -
requestOptions
@Nullable public final org.opensearch.client.RequestOptions requestOptions() -
getDeserializer
-