ru.curs.celesta.dbutils.term.FromTerm Maven / Gradle / Ivy
The newest version!
package ru.curs.celesta.dbutils.term;
import ru.curs.celesta.dbutils.QueryBuildingHelper;
import ru.curs.celesta.dbutils.stmt.ParameterSetter;
import java.util.List;
/**
* @author ioann
* @since 2017-08-16
*/
public final class FromTerm {
private final List> values;
public FromTerm(List> values) {
this.values = values;
}
public void programParams(List program, QueryBuildingHelper queryBuildingHelper) {
values.forEach(
v -> program.add(ParameterSetter.createArbitrary(v, queryBuildingHelper))
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy