Class QueryGrouping
java.lang.Object
com.northconcepts.datapipeline.jdbc.sql.SqlPart
com.northconcepts.datapipeline.jdbc.sql.select.QueryPart
com.northconcepts.datapipeline.jdbc.sql.select.QueryGrouping
The GROUP BY clause of a
Select; renders nothing when it has no fields.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()voidcollectSqlFragment(CodeWriter writer) Writes this part's SQL to the writer; used bySqlPart.getSqlFragment()and by enclosing parts.booleanisEmpty()booleanMethods inherited from class com.northconcepts.datapipeline.jdbc.sql.SqlPart
collectParameterValues, getParameterValues, getSqlFragment, isPretty, printSqlParts, setPretty, toString
-
Constructor Details
-
QueryGrouping
public QueryGrouping() -
QueryGrouping
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
isNotEmpty
public boolean isNotEmpty() -
clear
-
add
-
getFields
-
collectSqlFragment
Description copied from class:SqlPartWrites this part's SQL to the writer; used bySqlPart.getSqlFragment()and by enclosing parts.- Specified by:
collectSqlFragmentin classSqlPart
-