
pl.allegro.tech.embeddedelasticsearch.IndicesDescription Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of embedded-elasticsearch Show documentation
Show all versions of embedded-elasticsearch Show documentation
Tool that ease up creation of integration tests with Elasticsearch
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