Class ElasticsearchFeaturesClient

java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.features.ElasticsearchFeaturesClient

public class ElasticsearchFeaturesClient
extends ApiClient
Client for the features namespace.
  • Field Summary

    Fields inherited from class co.elastic.clients.base.ApiClient

    transport
  • Constructor Summary

    Constructors
    Constructor Description
    ElasticsearchFeaturesClient​(Transport transport)  
  • Method Summary

    Modifier and Type Method Description
    GetFeaturesResponse getFeatures()
    Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
    ResetFeaturesResponse resetFeatures()
    Resets the internal state of features, usually by deleting system indices

    Methods inherited from class co.elastic.clients.base.ApiClient

    _transport, getDeserializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ElasticsearchFeaturesClient

      public ElasticsearchFeaturesClient​(Transport transport)
  • Method Details

    • getFeatures

      public GetFeaturesResponse getFeatures() throws java.io.IOException
      Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co
    • resetFeatures

      public ResetFeaturesResponse resetFeatures() throws java.io.IOException
      Resets the internal state of features, usually by deleting system indices
      Throws:
      java.io.IOException
      See Also:
      Documentation on elastic.co