Interface StatementBuilderFactory
@NotThreadSafe
public interface StatementBuilderFactory
-
Method Summary
Modifier and TypeMethodDescriptionupdateStatementBuilder
(ParseTreeInfo parseTree) updateStatementBuilder
(ParseTreeInfo parseTree, Map<String, List<String>> columnSynonyms) Generates anUpdateStatement.Builder
from a given update parse tree using the provided map of column synonyms.updateStatementBuilder
(String updateQuery) Generates anUpdateStatement.Builder
from a given SQL statement using the provided map of column synonyms.
-
Method Details
-
updateStatementBuilder
-
updateStatementBuilder
-
updateStatementBuilder
@Nonnull UpdateStatement.Builder updateStatementBuilder(@Nonnull String updateQuery, @Nonnull Map<String, List<String>> columnSynonyms) Generates anUpdateStatement.Builder
from a given SQL statement using the provided map of column synonyms.- Parameters:
updateQuery
- The update query.columnSynonyms
- A map of column synonyms (aliases).- Returns:
- An update builder that corresponds to the SQL statement.
-
updateStatementBuilder
-
updateStatementBuilder
@Nonnull UpdateStatement.Builder updateStatementBuilder(@Nonnull ParseTreeInfo parseTree, @Nonnull Map<String, List<String>> columnSynonyms) Generates anUpdateStatement.Builder
from a given update parse tree using the provided map of column synonyms.- Parameters:
parseTree
- The update query parse tree.columnSynonyms
- A map of column synonyms (aliases).- Returns:
- An update builder that corresponds to the SQL statement.
-