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 Summary
Constructors Constructor Description ElasticsearchIndexSchemaExportImpl(com.google.gson.Gson userFacingGson, String indexName, ElasticsearchRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.google.gson.JsonObject>bodyParts()Map<String,String>parameters()voidtoFiles(Path targetDirectory)Writes the content of this export to a directory on the filesystem.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.engine.common.schema.management.SchemaExport
extension
-
-
-
-
Constructor Detail
-
ElasticsearchIndexSchemaExportImpl
public ElasticsearchIndexSchemaExportImpl(com.google.gson.Gson userFacingGson, String indexName, ElasticsearchRequest request)
-
-
Method Detail
-
toFiles
public void toFiles(Path targetDirectory)
Description copied from interface:SchemaExportWrites the content of this export to a directory on the filesystem.- Specified by:
toFilesin interfaceSchemaExport- Parameters:
targetDirectory- The target directory to generate the output into.
-
parameters
public Map<String,String> parameters()
- Specified by:
parametersin interfaceElasticsearchIndexSchemaExport- 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:
bodyPartsin interfaceElasticsearchIndexSchemaExport- Returns:
- The list containing any body elements required to send a request to an Elasticsearch cluster to create the index this export represents.
-
-