All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.allegro.tech.embeddedelasticsearch.IndicesDescription Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
package pl.allegro.tech.embeddedelasticsearch;

import java.util.Collection;
import java.util.Map;
import java.util.Optional;

class IndicesDescription {

    private final Map> indices;

    IndicesDescription(Map> indices) {
        this.indices = indices;
    }

    Collection getIndicesNames() {
        return indices.keySet();
    }

    Optional getIndexSettings(String indexName) {
        return indices.get(indexName);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy