public class Select extends QuerySource
| Constructor and Description |
|---|
Select(List<String> tables) |
Select(QuerySource... querySources) |
Select(String... tables) |
getNestedAlias, shouldWrapWhenNestedgetParameterValues, getSqlFragment, isPretty, printSqlParts, toStringpublic Select(String... tables)
public Select(QuerySource... querySources)
public Select setPretty(boolean pretty)
setPretty in class QuerySourcepublic Select setNestedAlias(String nestedAlias)
setNestedAlias in class QuerySourcepublic List<QuerySource> getQuerySources()
public List<String> getTables()
getTables in class QuerySourcepublic String getTable()
Returns the first table in the list of tables.
getTables() instead of this method.getTable in class QuerySourcepublic boolean containsTable(String table)
containsTable in class QuerySourcepublic QuerySelection getSelection()
public Select setSelection(QuerySelection selection)
@Deprecated public QueryCriteria getCriteria()
getWhere()public QueryCriteria getWhere()
public Select setWhere(QueryCriteria where)
public Select where(QueryCriteriaPart criteria)
public Select clearWhere()
public QueryGrouping getGrouping()
public Select setGrouping(QueryGrouping grouping)
public QueryCriteria getHaving()
public Select setHaving(QueryCriteria having)
public Select having(QueryCriteriaPart criteria)
public Select clearHaving()
public QueryOrder getOrder()
public Select setOrder(QueryOrder order)
public Select limit(int count)
public Select clearLimit()
public Select page(int page, int pageSize)
public Integer getOffset()
public Integer getCount()
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment in class SqlPartprotected void collectQuerySourceSqlFragment(CodeWriter writer, QuerySource querySource)
public void collectParameterValues(List<Object> values)
collectParameterValues in class SqlPartCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.