Package org.hibernate.sql.ast.spi
Interface SqlAppender
- All Superinterfaces:
Appendable
- All Known Implementing Classes:
AbstractSqlAstTranslator
,CockroachSqlAstTranslator
,DB2iSqlAstTranslator
,DB2SqlAstTranslator
,DB2zSqlAstTranslator
,DerbySqlAstTranslator
,H2SqlAstTranslator
,HANASqlAstTranslator
,HSQLSqlAstTranslator
,MariaDBSqlAstTranslator
,MySQLSqlAstTranslator
,OracleSqlAstTranslator
,PostgreSQLSqlAstTranslator
,SpannerSqlAstTranslator
,SqlAstTranslatorWithMerge
,SqlAstTranslatorWithUpsert
,SQLServerSqlAstTranslator
,StandardSqlAstTranslator
,StringBuilderSqlAppender
,SybaseASESqlAstTranslator
,SybaseSqlAstTranslator
,TiDBSqlAstTranslator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Access to appending SQL fragments to an in-flight buffer
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault Appendable
append
(char c) default Appendable
append
(CharSequence csq) default Appendable
append
(CharSequence csq, int start, int end) default void
appendSql
(boolean value) default void
appendSql
(char fragment) default void
appendSql
(int value) default void
appendSql
(long value) void
Add the passed fragment into the in-flight buffer
-
Field Details
-
NO_SEPARATOR
- See Also:
-
COMMA_SEPARATOR
- See Also:
-
COMMA_SEPARATOR_CHAR
static final char COMMA_SEPARATOR_CHAR- See Also:
-
WHITESPACE
static final char WHITESPACE- See Also:
-
OPEN_PARENTHESIS
static final char OPEN_PARENTHESIS- See Also:
-
CLOSE_PARENTHESIS
static final char CLOSE_PARENTHESIS- See Also:
-
PARAM_MARKER
static final char PARAM_MARKER- See Also:
-
NULL_KEYWORD
- See Also:
-
-
Method Details
-
appendSql
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) -
append
- Specified by:
append
in interfaceAppendable
-
append
- Specified by:
append
in interfaceAppendable
-
append
- Specified by:
append
in interfaceAppendable
-