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

com.datastax.ebdrivers.dsegraph.statements.BindableGraphStatementsTemplate Maven / Gradle / Ivy

package com.datastax.ebdrivers.dsegraph.statements;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

public class BindableGraphStatementsTemplate {
    private final List templateList = new ArrayList<>();

    public void addTemplate(ReadyGraphStatementTemplate template) {
        this.templateList.add(template);
    }

    public List resolve() {
        return templateList.stream().map(ReadyGraphStatementTemplate::resolve)
                .collect(Collectors.toList());
    }

    public int size() {
        return templateList.size();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy