Package org.gvsig.fmap.dal
Interface SQLBuilder.SelectBuilder
- All Superinterfaces:
Cloneable,org.gvsig.tools.lang.Cloneable,org.gvsig.expressionevaluator.ExpressionBuilder.Value,org.gvsig.expressionevaluator.ExpressionBuilder.Visitable,org.gvsig.tools.util.PropertiesSupport,SQLBuilder.Statement,SQLBuilder.StatementPart
- Enclosing interface:
SQLBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncolumn()column(SQLBuilder.SelectColumnBuilder column) voiddistinct()from()List<org.gvsig.expressionevaluator.ExpressionBuilder.Value> getOrderBy(String column) getOrderBy(org.gvsig.expressionevaluator.ExpressionBuilder.Value column) group_by(org.gvsig.expressionevaluator.ExpressionBuilder.Value... column) booleanbooleanhas_column(String name) booleanhas_from()booleanbooleanbooleanbooleanbooleanbooleanlimit(long limit) offset(long offset) Specifies an offset to be applied to the SQL statement.order_by()voidremove_column(String columnName) toString()Constructs the SQL statement.org.gvsig.expressionevaluator.GeometryExpressionBuilderwhere()Methods inherited from interface org.gvsig.expressionevaluator.ExpressionBuilder.Value
clone, copyPropertiesFrom, replace, toStringMethods inherited from interface org.gvsig.expressionevaluator.ExpressionBuilder.Visitable
acceptMethods inherited from interface org.gvsig.tools.util.PropertiesSupport
getProperties, getProperty, setProperty
-
Method Details
-
column
SQLBuilder.SelectColumnBuilder column() -
column
-
column
-
remove_all_columns
SQLBuilder.SelectBuilder remove_all_columns() -
from
SQLBuilder.FromBuilder from() -
where
org.gvsig.expressionevaluator.GeometryExpressionBuilder where() -
order_by
SQLBuilder.OrderByBuilder order_by() -
getOrderBy
-
getOrderBy
-
group_by
-
distinct
SQLBuilder.SelectBuilder distinct() -
limit
-
limit
-
offset
Specifies an offset to be applied to the SQL statement. Only an offset can be applied if an order has been specified. Otherwise an IllegalStateException exception will be thrown when constructing the SQL statement invoking the toString method.- Parameters:
offset-- Returns:
- this SelectBuilder
-
has_column
-
has_where
boolean has_where() -
has_from
boolean has_from() -
has_order_by
boolean has_order_by() -
has_group_by
boolean has_group_by() -
has_aggregate_functions
boolean has_aggregate_functions() -
has_limit
boolean has_limit() -
has_offset
boolean has_offset() -
disable_check_order_and_offset
void disable_check_order_and_offset() -
toString
String toString()Constructs the SQL statement. If the values associated with the SQL statement are not valid an IllegalStateException exception is thrown.- Overrides:
toStringin classObject- Returns:
- the SQL select statement.
- Throws:
IllegalStateException- if the values of select statement are not valids.
-
getGroups
List<org.gvsig.expressionevaluator.ExpressionBuilder.Value> getGroups() -
getColumns
List<SQLBuilder.SelectColumnBuilder> getColumns() -
getColumn
-
remove_column
-
isGroupBy
-