Class ElasticsearchIndexSchemaExportImpl

    • 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: 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.