Class QuerySelection
java.lang.Object
com.northconcepts.datapipeline.jdbc.sql.SqlPart
com.northconcepts.datapipeline.jdbc.sql.select.QueryPart
com.northconcepts.datapipeline.jdbc.sql.select.QuerySelection
The SELECT column list of a
Select; selects * when no fields are added.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectSqlFragment(CodeWriter writer) Writes this part's SQL to the writer; used bySqlPart.getSqlFragment()and by enclosing parts.booleanIndicates ifSELECT DISTINCTis generated (default is false).setDistinct(boolean distinct) Indicates ifSELECT DISTINCTis generated (default is false).Methods inherited from class com.northconcepts.datapipeline.jdbc.sql.SqlPart
collectParameterValues, getParameterValues, getSqlFragment, isPretty, printSqlParts, setPretty, toString
-
Constructor Details
-
QuerySelection
public QuerySelection() -
QuerySelection
-
-
Method Details
-
add
-
isDistinct
public boolean isDistinct()Indicates ifSELECT DISTINCTis generated (default is false). -
setDistinct
Indicates ifSELECT DISTINCTis generated (default is false). -
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
-