Package de.chojo.sqlutil.wrapper.stage
Interface ConfigurationStage<T>
- Type Parameters:
T- type
- All Known Implementing Classes:
QueryBuilder
public interface ConfigurationStage<T>
Configuration stage of a
QueryBuilder-
Method Summary
Modifier and TypeMethodDescriptiondefault QueryStage<T>configure(QueryBuilderConfig config) Configure the query builder.configure(AtomicReference<QueryBuilderConfig> config) Configure the query builder.Set the settings to default values.
-
Method Details
-
configure
Configure the query builder.A configured
QueryBuilderFactorycan be used to skip this step.- Parameters:
config- The config of theQueryBuilder- Returns:
- The
QueryBuilderinQueryStagewith the config set.
-
configure
Configure the query builder.A configured
QueryBuilderFactorycan be used to skip this step.- Parameters:
config- The config of theQueryBuilder- Returns:
- The
QueryBuilderinQueryStagewith the config set.
-
defaultConfig
QueryStage<T> defaultConfig()Set the settings to default values.Default will be atomic transactions and not throwing any exception.
A configured
QueryBuilderFactorycan be used to skip this step.- Returns:
- The
QueryBuilderin
-