| org.h2.command.dml.Query org.h2.command.dml.Select
Select | public class Select extends Query (Code) | | This class represents a simple SELECT statement.
For each select statement,
visibleColumnCount <= distinctColumnCount <= expressionCount.
The expression list count could include ORDER BY and GROUP BY expressions
that are not in the select list.
The call sequence is init(), mapColumns() if it's a subquery, prepare().
author: Thomas Mueller author: Joel Turkel (Group sorted query) |
addCondition | public void addCondition(Expression cond)(Code) | | Add a condition to the list of conditions.
Parameters: cond - the condition to add |
addTableFilter | public void addTableFilter(TableFilter filter, boolean isTop)(Code) | | Add a table to the query.
Parameters: filter - the table to add Parameters: isTop - if the table can be the first table in the query plan |
getColumnCount | public int getColumnCount()(Code) | | |
getCost | public double getCost()(Code) | | |
isQuickQuery | public boolean isQuickQuery()(Code) | | |
isReadOnly | public boolean isReadOnly()(Code) | | |
setDistinct | public void setDistinct(boolean b)(Code) | | |
setForUpdate | public void setForUpdate(boolean b)(Code) | | |
setGroupQuery | public void setGroupQuery()(Code) | | |
|
|