class ElasticsearchAccess implements DatabaseConnection {

    public ElasticsearchAccess(final String clusterName, List<ElasticsearchNode> nodes)
        throws VitamException, IOException {

        ParametersChecker.checkParameter("clusterName, elasticsearch nodes list are a mandatory parameters",
            clusterName, nodes);

        if (nodes.isEmpty()) {
            throw new VitamException("elasticsearch nodes list is empty");
        }

        this.clusterName = clusterName;
        this.nodes = nodes;

        default_builder = settings();
    }

    public  ElasticsearchAccess(final String clusterName, List<ElasticsearchNode> nodes);

}