Package | Description |
---|---|
com.j256.ormlite.stmt |
SQL statement generation and processing.
|
com.j256.ormlite.stmt.mapped |
Compiled SQL query statements.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseArgumentHolder
Base class for other select argument classes.
|
class |
NullArgHolder
An argument to a select SQL statement for null arguments.
|
class |
SelectArg
An argument to a select SQL statement.
|
class |
ThreadLocalSelectArg
Like
SelectArg but using a ThreadLocal internally to improve reentrance so that multiple threads can
use the same compiled statement. |
Modifier and Type | Method and Description |
---|---|
List<ArgumentHolder> |
StatementBuilder.StatementInfo.getArgList() |
Modifier and Type | Method and Description |
---|---|
QueryBuilder<T,ID> |
QueryBuilder.orderByRaw(String rawSql,
ArgumentHolder... args)
Add raw SQL "ORDER BY" clause to the SQL query statement.
|
Where<T,ID> |
Where.raw(String rawStatement,
ArgumentHolder... args)
Add a raw statement as part of the where that can be anything that the database supports.
|
Modifier and Type | Method and Description |
---|---|
protected void |
QueryBuilder.appendStatementEnd(StringBuilder sb,
List<ArgumentHolder> argList) |
protected void |
DeleteBuilder.appendStatementEnd(StringBuilder sb,
List<ArgumentHolder> argList) |
protected void |
UpdateBuilder.appendStatementEnd(StringBuilder sb,
List<ArgumentHolder> argList) |
protected abstract void |
StatementBuilder.appendStatementEnd(StringBuilder sb,
List<ArgumentHolder> argList)
Append the end of our statement string to the StringBuilder.
|
protected void |
QueryBuilder.appendStatementStart(StringBuilder sb,
List<ArgumentHolder> argList) |
protected void |
DeleteBuilder.appendStatementStart(StringBuilder sb,
List<ArgumentHolder> argList) |
protected void |
UpdateBuilder.appendStatementStart(StringBuilder sb,
List<ArgumentHolder> argList) |
protected abstract void |
StatementBuilder.appendStatementStart(StringBuilder sb,
List<ArgumentHolder> argList)
Append the start of our statement string to the StringBuilder.
|
void |
QueryBuilder.InternalQueryBuilderWrapper.appendStatementString(StringBuilder sb,
List<ArgumentHolder> argList) |
protected void |
StatementBuilder.appendStatementString(StringBuilder sb,
List<ArgumentHolder> argList)
Internal method to build a query while tracking various arguments.
|
protected boolean |
QueryBuilder.appendWhereStatement(StringBuilder sb,
List<ArgumentHolder> argList,
StatementBuilder.WhereOperation operation) |
protected boolean |
StatementBuilder.appendWhereStatement(StringBuilder sb,
List<ArgumentHolder> argList,
StatementBuilder.WhereOperation operation)
Append the WHERE part of the statement to the StringBuilder.
|
protected String |
StatementBuilder.buildStatementString(List<ArgumentHolder> argList) |
Constructor and Description |
---|
MappedPreparedStmt(Dao<T,ID> dao,
TableInfo<T,ID> tableInfo,
String statement,
FieldType[] argFieldTypes,
FieldType[] resultFieldTypes,
ArgumentHolder[] argHolders,
Long limit,
StatementBuilder.StatementType type,
boolean cacheStore) |
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.