public final class SelectUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addExpression(Select select,
Expression expr)
Adds an expression to select statements.
|
static Join |
addJoin(Select select,
Table table,
Expression onExpression)
Adds a simple join to a select statement.
|
static Select |
buildSelectFromTable(Table table)
Builds select * from table.
|
static Select |
buildSelectFromTableAndExpressions(Table table,
Expression... expr)
Builds select expr1, expr2 from table.
|
static Select |
buildSelectFromTableAndExpressions(Table table,
String... expr)
Builds select expr1, expr2 from table.
|
static Select |
buildSelectFromTableAndSelectItems(Table table,
SelectItem... selectItems) |
public static Select buildSelectFromTableAndExpressions(Table table, Expression... expr)
table
- expr
- public static Select buildSelectFromTableAndExpressions(Table table, String... expr) throws JSQLParserException
table
- expr
- JSQLParserException
public static Select buildSelectFromTableAndSelectItems(Table table, SelectItem... selectItems)
public static Select buildSelectFromTable(Table table)
table
- public static void addExpression(Select select, Expression expr)
select
- expr
- public static Join addJoin(Select select, Table table, Expression onExpression)
select
- table
- onExpression
- Copyright © 2006–2018 TinyGroup. All rights reserved.