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

io.engineblock.activities.json.statements.ReadyFileStatementTemplate Maven / Gradle / Ivy

Go to download

A engineblock ActivityType (AT) driver module; Provides an activity capable of writing results out via JSON

There is a newer version: 1.0.65
Show newest version
package io.engineblock.activities.json.statements;

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

public class ReadyFileStatementTemplate {

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

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

    public ReadyFileStatement resolve() {
        return new ReadyFileMapStatement(stmtTemplate,bindingsTemplate.resolveBindings());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy