public static class SqlStatement.Builder extends Object
Constructor and Description |
---|
SqlStatement.Builder() |
Modifier and Type | Method and Description |
---|---|
SqlStatement |
build()
Build the SQL statement.
|
SqlStatement.Builder |
groupBy(GroupByClause clause)
Set the group-by clause.
|
SqlStatement.Builder |
limit(LimitClause clause)
Set the limit clause.
|
SqlStatement.Builder |
orderBy(OrderByClause clause)
Set the order-by clause.
|
SqlStatement.Builder |
select(SelectClause clause)
Set the select clause.
|
SqlStatement.Builder |
where(WhereClause clause)
Set the where clause.
|
public SqlStatement.Builder select(SelectClause clause)
clause
- the select clausepublic SqlStatement.Builder where(WhereClause clause)
clause
- the where clausepublic SqlStatement.Builder groupBy(GroupByClause clause)
clause
- the group-by clausepublic SqlStatement.Builder orderBy(OrderByClause clause)
clause
- the order-by clausepublic SqlStatement.Builder limit(LimitClause clause)
clause
- the limit clausepublic SqlStatement build()
Copyright © 2015. All Rights Reserved.