public class SimpleSelect extends Object
Constructor and Description |
---|
SimpleSelect(Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
SimpleSelect |
addColumn(String columnName) |
SimpleSelect |
addColumn(String columnName,
String alias) |
SimpleSelect |
addColumns(String[] columnNames) |
SimpleSelect |
addColumns(String[] columnNames,
String[] columnAliases) |
SimpleSelect |
addColumns(String[] columns,
String[] aliases,
boolean[] ignore) |
SimpleSelect |
addCondition(String[] lhs,
String condition) |
SimpleSelect |
addCondition(String[] lhs,
String op,
String[] rhs) |
SimpleSelect |
addCondition(String lhs,
String condition) |
SimpleSelect |
addCondition(String lhs,
String op,
String rhs) |
SimpleSelect |
addWhereToken(String token) |
SimpleSelect |
setComment(String comment) |
SimpleSelect |
setLockMode(LockMode lockMode) |
SimpleSelect |
setLockOptions(LockOptions lockOptions) |
SimpleSelect |
setOrderBy(String orderBy) |
SimpleSelect |
setTableName(String tableName) |
String |
toStatementString() |
String |
toWhereClause() |
public SimpleSelect(Dialect dialect)
public SimpleSelect addColumns(String[] columnNames, String[] columnAliases)
public SimpleSelect addColumns(String[] columns, String[] aliases, boolean[] ignore)
public SimpleSelect addColumns(String[] columnNames)
public SimpleSelect addColumn(String columnName)
public SimpleSelect addColumn(String columnName, String alias)
public SimpleSelect setTableName(String tableName)
public SimpleSelect setLockOptions(LockOptions lockOptions)
public SimpleSelect setLockMode(LockMode lockMode)
public SimpleSelect addWhereToken(String token)
public SimpleSelect addCondition(String lhs, String op, String rhs)
public SimpleSelect addCondition(String lhs, String condition)
public SimpleSelect addCondition(String[] lhs, String op, String[] rhs)
public SimpleSelect addCondition(String[] lhs, String condition)
public String toStatementString()
public String toWhereClause()
public SimpleSelect setOrderBy(String orderBy)
public SimpleSelect setComment(String comment)
Copyright © 2018 JBoss by Red Hat. All rights reserved.