Package | Description |
---|---|
com.hp.util.sql |
A set of building blocks to facilitate the construction of SQL statements.
|
Modifier and Type | Method and Description |
---|---|
OrderByClause |
OrderByClause.Builder.build()
Builds and returns the OrderByClause instance.
|
static OrderByClause |
SqlUtils.orderByAsc(String columnName)
Convenience method to create an order-by clause (ascending) for a single column.
|
static OrderByClause |
SqlUtils.orderByDesc(String columnName)
Convenience method to create an order-by clause (descending) for a single column.
|
Modifier and Type | Method and Description |
---|---|
SqlStatement.Builder |
SqlStatement.Builder.orderBy(OrderByClause clause)
Set the order-by clause.
|
static SqlStatement |
SqlUtils.sql(SelectClause sc,
WhereClause wc,
GroupByClause gbc,
OrderByClause obc)
Convenience method to create an SQL statement from the given clauses.
|
static SqlStatement |
SqlUtils.sql(SelectClause sc,
WhereClause wc,
OrderByClause obc,
LimitClause l)
Convenience method to create an SQL statement from the given clauses.
|
Copyright © 2016. All Rights Reserved.