Class ElasticsearchFeaturesClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchFeaturesClient>
co.elastic.clients.elasticsearch.features.ElasticsearchFeaturesClient
public class ElasticsearchFeaturesClient extends ApiClient<ElasticsearchTransport,ElasticsearchFeaturesClient>
Client for the features namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions -
Constructor Summary
Constructors Constructor Description ElasticsearchFeaturesClient(ElasticsearchTransport transport)ElasticsearchFeaturesClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and Type Method Description GetFeaturesResponsegetFeatures()Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshotResetFeaturesResponseresetFeatures()Resets the internal state of features, usually by deleting system indicesElasticsearchFeaturesClientwithTransportOptions(TransportOptions transportOptions)Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, getDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchFeaturesClient
-
ElasticsearchFeaturesClient
public ElasticsearchFeaturesClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchFeaturesClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchFeaturesClient>
-
getFeatures
Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot- Throws:
java.io.IOExceptionElasticsearchException- See Also:
- Documentation on elastic.co
-
resetFeatures
Resets the internal state of features, usually by deleting system indices- Throws:
java.io.IOExceptionElasticsearchException- See Also:
- Documentation on elastic.co
-