Package org.opensearch.client
Class ApiClient<T extends Transport,Self extends ApiClient<T,Self>>
- java.lang.Object
-
- org.opensearch.client.ApiClient<T,Self>
-
- Direct Known Subclasses:
OpenSearchAsyncClient,OpenSearchCatAsyncClient,OpenSearchCatClient,OpenSearchClient,OpenSearchClusterAsyncClient,OpenSearchClusterClient,OpenSearchDanglingIndicesAsyncClient,OpenSearchDanglingIndicesClient,OpenSearchFeaturesAsyncClient,OpenSearchFeaturesClient,OpenSearchIndicesAsyncClient,OpenSearchIndicesClient,OpenSearchIngestAsyncClient,OpenSearchIngestClient,OpenSearchNodesAsyncClient,OpenSearchNodesClient,OpenSearchShutdownAsyncClient,OpenSearchShutdownClient,OpenSearchSnapshotAsyncClient,OpenSearchSnapshotClient,OpenSearchTasksAsyncClient,OpenSearchTasksClient
public abstract class ApiClient<T extends Transport,Self extends ApiClient<T,Self>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Ttransportprotected TransportOptionstransportOptions
-
Constructor Summary
Constructors Modifier Constructor Description protectedApiClient(T transport, TransportOptions transportOptions)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T_transport()TransportOptions_transportOptions()protected <V> JsonpDeserializer<V>getDeserializer(java.lang.Class<V> clazz)abstract SelfwithTransportOptions(TransportOptions transportOptions)Creates a new client with some request options
-
-
-
Field Detail
-
transportOptions
protected final TransportOptions transportOptions
-
-
Constructor Detail
-
ApiClient
protected ApiClient(T transport, TransportOptions transportOptions)
-
-
Method Detail
-
getDeserializer
protected <V> JsonpDeserializer<V> getDeserializer(java.lang.Class<V> clazz)
-
withTransportOptions
public abstract Self withTransportOptions(@Nullable TransportOptions transportOptions)
Creates a new client with some request options
-
_transport
public T _transport()
-
_transportOptions
public TransportOptions _transportOptions()
-
-