当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
SimpleSelect (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.sql
Class SimpleSelect
java.lang.Object
net.sf.hibernate.sql.SimpleSelect
- public class SimpleSelect
- extends Object
An SQL SELECT statement with no table joins
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSelect
public SimpleSelect()
addColumns
public SimpleSelect addColumns(String[] columnNames,
String[] columnAliases)
addColumns
public SimpleSelect addColumns(String[] columnNames)
addColumn
public SimpleSelect addColumn(String columnName)
addColumn
public SimpleSelect addColumn(String columnName,
String alias)
setTableName
public SimpleSelect setTableName(String tableName)
addWhereToken
public SimpleSelect addWhereToken(String token)
addCondition
public SimpleSelect addCondition(String lhs,
String op,
String rhs)
addCondition
public SimpleSelect addCondition(String lhs,
String condition)
addCondition
public SimpleSelect addCondition(String[] lhs,
String op,
String[] rhs)
addCondition
public SimpleSelect addCondition(String[] lhs,
String condition)
toStatementString
public String toStatementString()
toWhereClause
public String toWhereClause()
setOrderBy
public void setOrderBy(String orderBy)