Package org.hibernate.sql.ast.spi
Class StringBuilderSqlAppender
java.lang.Object
org.hibernate.sql.ast.spi.StringBuilderSqlAppender
- All Implemented Interfaces:
Appendable
,SqlAppender
Access to appending SQL fragments to a StringBuilder
-
Field Summary
FieldsFields inherited from interface org.hibernate.sql.ast.spi.SqlAppender
CLOSE_PARENTHESIS, COMMA_SEPARATOR, COMMA_SEPARATOR_CHAR, NO_SEPARATOR, NULL_KEYWORD, OPEN_PARENTHESIS, PARAM_MARKER, WHITESPACE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend
(char c) append
(CharSequence csq) append
(CharSequence csq, int start, int end) void
appendSql
(boolean value) void
appendSql
(char fragment) void
appendSql
(int value) void
appendSql
(long value) void
Add the passed fragment into the in-flight buffertoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.sql.ast.spi.SqlAppender
appendDoubleQuoteEscapedString, appendSingleQuoteEscapedString
-
Field Details
-
sb
-
-
Constructor Details
-
StringBuilderSqlAppender
public StringBuilderSqlAppender() -
StringBuilderSqlAppender
-
-
Method Details
-
getStringBuilder
-
appendSql
Description copied from interface:SqlAppender
Add the passed fragment into the in-flight buffer- Specified by:
appendSql
in interfaceSqlAppender
-
appendSql
public void appendSql(char fragment) - Specified by:
appendSql
in interfaceSqlAppender
-
appendSql
public void appendSql(int value) - Specified by:
appendSql
in interfaceSqlAppender
-
appendSql
public void appendSql(long value) - Specified by:
appendSql
in interfaceSqlAppender
-
appendSql
public void appendSql(boolean value) - Specified by:
appendSql
in interfaceSqlAppender
-
append
- Specified by:
append
in interfaceAppendable
- Specified by:
append
in interfaceSqlAppender
-
append
- Specified by:
append
in interfaceAppendable
- Specified by:
append
in interfaceSqlAppender
-
append
- Specified by:
append
in interfaceAppendable
- Specified by:
append
in interfaceSqlAppender
-
toString
-