Interface SqlAppender

All Superinterfaces:
Appendable
All Known Implementing Classes:
AbstractSqlAstTranslator, DB2SqlAstTranslator, PostgreSQLFamilySqlAstTranslator, PostgreSQLSqlAstTranslator, SqlAstTranslatorWithMerge, SqlAstTranslatorWithOnDuplicateKeyUpdate, SqlAstTranslatorWithUpsert, StandardSqlAstTranslator, StringBuilderSqlAppender
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @SPI({USE,IMPLEMENT}) public interface SqlAppender extends Appendable
Appends complete SQL fragments to an in-flight SQL buffer. Dialect strategies receive this contract from Hibernate and must not retain it.
  • Field Details

  • Method Details

    • appendSql

      void appendSql(String fragment)
      Add the passed fragment into the in-flight buffer
    • appendSql

      default void appendSql(char fragment)
    • appendSql

      default void appendSql(int value)
    • appendSql

      default void appendSql(long value)
    • appendSql

      default void appendSql(boolean value)
    • appendSql

      default void appendSql(double value)
    • appendSql

      default void appendSql(float value)
    • appendDoubleQuoteEscapedString

      default void appendDoubleQuoteEscapedString(String value)
    • appendSingleQuoteEscapedString

      default void appendSingleQuoteEscapedString(String value)
    • append

      default Appendable append(CharSequence csq)
      Specified by:
      append in interface Appendable
    • append

      default Appendable append(CharSequence csq, int start, int end)
      Specified by:
      append in interface Appendable
    • append

      default Appendable append(char c)
      Specified by:
      append in interface Appendable