Class ElasticsearchIndexSchemaExportImpl

java.lang.Object
org.hibernate.search.backend.elasticsearch.schema.management.impl.ElasticsearchIndexSchemaExportImpl
All Implemented Interfaces:
ElasticsearchIndexSchemaExport, SchemaExport

public class ElasticsearchIndexSchemaExportImpl extends Object implements ElasticsearchIndexSchemaExport
  • Constructor Details

    • ElasticsearchIndexSchemaExportImpl

      public ElasticsearchIndexSchemaExportImpl(com.google.gson.Gson userFacingGson, String indexName, ElasticsearchRequest request)
  • Method Details

    • toFiles

      public void toFiles(Path targetDirectory)
      Description copied from interface: SchemaExport
      Writes the content of this export to a directory on the filesystem.
      Specified by:
      toFiles in interface SchemaExport
      Parameters:
      targetDirectory - The target directory to generate the output into.
    • parameters

      public Map<String,String> parameters()
      Specified by:
      parameters in interface ElasticsearchIndexSchemaExport
      Returns:
      The map containing any query parameters required to send a request to an Elasticsearch cluster to create the index this export represents.
    • bodyParts

      public List<com.google.gson.JsonObject> bodyParts()
      Specified by:
      bodyParts in interface ElasticsearchIndexSchemaExport
      Returns:
      The list containing any body elements required to send a request to an Elasticsearch cluster to create the index this export represents.