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

io.engineblock.activities.csv.statements.ReadyCSVStatementTemplate Maven / Gradle / Ivy

Go to download

A engineblock ActivityType (AT) driver module; Provides a diagnostic activity that logs input at some interval

There is a newer version: 2.11.04
Show newest version
package io.engineblock.activities.csv.statements;


import io.virtdata.core.AllDataMapperLibraries;
import io.virtdata.core.BindingsTemplate;
import java.util.Map;


public class ReadyCSVStatementTemplate {

    private final String stmtTemplate;
    private final BindingsTemplate bindingsTemplate;
    private String name;

    public ReadyCSVStatementTemplate(String name, String stmtTemplate, Map bindingSpecs) {
        this.name = name;
        this.stmtTemplate = stmtTemplate;
        this.bindingsTemplate = new BindingsTemplate(AllDataMapperLibraries.get(), bindingSpecs);
    }

    public ReadyCSVStatement resolve() {
        return new ReadyCSVMapStatement(stmtTemplate,bindingsTemplate.resolveBindings());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy