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) voidappendSql(boolean value) voidappendSql(char fragment) voidappendSql(int value) voidappendSql(long value) voidAdd the passed fragment into the in-flight buffertoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:SqlAppenderAdd the passed fragment into the in-flight buffer- Specified by:
appendSqlin interfaceSqlAppender
-
appendSql
public void appendSql(char fragment) - Specified by:
appendSqlin interfaceSqlAppender
-
appendSql
public void appendSql(int value) - Specified by:
appendSqlin interfaceSqlAppender
-
appendSql
public void appendSql(long value) - Specified by:
appendSqlin interfaceSqlAppender
-
appendSql
public void appendSql(boolean value) - Specified by:
appendSqlin interfaceSqlAppender
-
append
- Specified by:
appendin interfaceAppendable- Specified by:
appendin interfaceSqlAppender
-
append
- Specified by:
appendin interfaceAppendable- Specified by:
appendin interfaceSqlAppender
-
append
- Specified by:
appendin interfaceAppendable- Specified by:
appendin interfaceSqlAppender
-
toString
-