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
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
);