Bump dawidd6/action-send-mail from 3 to 4
[yosql.git] / yosql-codegen / src / main / java / wtf / metio / yosql / codegen / dao / ParameterGenerator.java
blob440c85101733f3d71eadbdc6ebacf933ad4a15e0
1 /*
2 * This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
3 * directory of this distribution and at https://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
4 * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5 * in the LICENSE file.
6 */
8 package wtf.metio.yosql.codegen.dao;
10 import com.squareup.javapoet.ParameterSpec;
11 import wtf.metio.yosql.models.immutables.SqlConfiguration;
13 public interface ParameterGenerator {
15 Iterable<ParameterSpec> asParameterSpecs(SqlConfiguration configuration);
17 Iterable<ParameterSpec> asParameterSpecsForInterfaces(SqlConfiguration configuration);
19 Iterable<ParameterSpec> asBatchParameterSpecs(SqlConfiguration configuration);
21 Iterable<ParameterSpec> asBatchParameterSpecsForInterfaces(SqlConfiguration configuration);