Interface StatementBuilderFactory


@NotThreadSafe public interface StatementBuilderFactory
  • Method Details

    • updateStatementBuilder

      @Nonnull UpdateStatement.Builder updateStatementBuilder()
    • updateStatementBuilder

      @Nonnull UpdateStatement.Builder updateStatementBuilder(@Nonnull String updateQuery)
    • updateStatementBuilder

      @Nonnull UpdateStatement.Builder updateStatementBuilder(@Nonnull String updateQuery, @Nonnull Map<String,List<String>> columnSynonyms)
      Generates an UpdateStatement.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

      @Nonnull UpdateStatement.Builder updateStatementBuilder(@Nonnull ParseTreeInfo parseTree)
    • updateStatementBuilder

      @Nonnull UpdateStatement.Builder updateStatementBuilder(@Nonnull ParseTreeInfo parseTree, @Nonnull Map<String,List<String>> columnSynonyms)
      Generates an UpdateStatement.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.