public interface SQLBuilder
| Modifier and Type | Method and Description |
|---|---|
SQLBuilder |
append(char c)
Appends a new char to the SQL query.
|
SQLBuilder |
append(CharSequence s)
Appends a new string to the SQL query.
|
SQLBuilder |
append(double d)
Appends a new double to the SQL query.
|
SQLBuilder |
append(float f)
Appends a new float to the SQL query.
|
SQLBuilder |
append(int i)
Appends a new integer to the SQL query.
|
SQLBuilder |
append(long lng)
Appends a new long to the SQL query.
|
SQLBuilder |
append(SQLWritable expression)
Appends a new SQL expression to the SQL query.
|
SQLBuilder |
append(String str)
Appends a new string to the SQL query.
|
void |
appendAll(SQLWritable[] expressions,
String sep)
Appends the array of SQL expressions to the SQL query.
|
SQLBuilder |
appendLimit(int count)
Appends a new limit statement to the SQL query.
|
SQLBuilder |
appendLimit(int offset,
int count)
Appends a new limit statement to the SQL query.
|
SQLBuilder |
appendObjectName(String name)
Appends a new object name to the SQL query.
|
SQLDialect |
getDialect()
The SQL dialect used for this builder.
|
List<Object> |
getParameters()
The current list of parameters added to this builder.
|
boolean |
isSimpleColumnNames()
If the builder needs to print the columns as simple names rather than in
the table.column form.
|
void |
setSimpleColumnNames(boolean simpleColumnNames)
If the builder needs to print the columns as simple names rather than in
the table.column form.
|
boolean isSimpleColumnNames()
void setSimpleColumnNames(boolean simpleColumnNames)
simpleColumnNames - true if the builder will print the columns as
simple names, false otherwise.SQLDialect getDialect()
List<Object> getParameters()
SQLBuilder append(String str)
str - The string to append.SQLBuilder append(CharSequence s)
s - The char sequence to append.SQLBuilder append(char c)
c - The char to append.SQLBuilder append(int i)
i - The integer to append.SQLBuilder append(long lng)
lng - The long to append.SQLBuilder append(float f)
f - The float to append.SQLBuilder append(double d)
d - The double to append.SQLBuilder appendObjectName(String name)
name - The name to append.SQLBuilder appendLimit(int offset, int count)
offset - The offset to append.count - The count to append.SQLBuilder appendLimit(int count)
count - The count to append.SQLBuilder append(SQLWritable expression)
expression - The expression to append.void appendAll(SQLWritable[] expressions, String sep)
expressions - The expressions to append.sep - The separator to use.Copyright © 2015–2018 Bridje Framework. All rights reserved.