Class SQLWhereQuery<T>
java.lang.Object
ece.ing3.java.projet.database.sql.queries.SQLWhereQuery<T>
- Type Parameters:
- T- SQL helper class
- All Implemented Interfaces:
- SQLRequest
SQL helper for queries supporting Where clause.
 Must be used as a base class for a feature-complete SQL helper.
- Author:
- Virgile, Nicolas, Louis-Félix
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionChain a new Where clause using the boolean AND.andWhere(String column, String comparator, SQLRequest subquery) Chain a Where clause using the boolean AND, using the provided values and subquery.Chain a Where clause using the boolean AND, using the provided values.Gets all the request's parametersChain a Where clause using the boolean OR.orWhere(String column, String comparator, SQLRequest subquery) Chain a Where clause using the boolean OR, using the provided values and subquery.Chain a Where clause using the boolean OR, using the provided values.Init a new where clause.where(String column, String comparator, SQLRequest subquery) Init a new Where clause using the provided values and subquery.Init a new Where clause using the provided values.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ece.ing3.java.projet.database.sql.queries.SQLRequestgetModelClass, toString
- 
Constructor Details- 
SQLWhereQuerypublic SQLWhereQuery()
 
- 
- 
Method Details- 
whereInit a new where clause.- Parameters:
- condition- Where clause to use
- Returns:
- This SQL select helper
 
- 
andWhereChain a new Where clause using the boolean AND.- Parameters:
- condition- Where clause to chain
- Returns:
- This SQL select helper
 
- 
orWhereChain a Where clause using the boolean OR.- Parameters:
- condition- Where clause to chain
- Returns:
- This SQL select helper
 
- 
whereInit a new Where clause using the provided values.- Parameters:
- column- Column to target
- comparator- Comparator to use
- value- Comparison value
- Returns:
- This SQL select helper
 
- 
andWhereChain a Where clause using the boolean AND, using the provided values.- Parameters:
- column- Column to target
- comparator- Comparator to use
- value- Comparison value
- Returns:
- This SQL select helper
 
- 
orWhereChain a Where clause using the boolean OR, using the provided values.- Parameters:
- column- Column to target
- comparator- Comparator to use
- value- Comparison value
- Returns:
- This SQL select helper
 
- 
whereInit a new Where clause using the provided values and subquery.- Parameters:
- column- Column to target
- comparator- Comparator to use
- subquery- Comparison value
- Returns:
- This SQL select helper
 
- 
andWhereChain a Where clause using the boolean AND, using the provided values and subquery.- Parameters:
- column- Column to target
- comparator- Comparator to use
- subquery- Comparison value
- Returns:
- This SQL select helper
 
- 
orWhereChain a Where clause using the boolean OR, using the provided values and subquery.- Parameters:
- column- Column to target
- comparator- Comparator to use
- subquery- Comparison value
- Returns:
- This SQL select helper
 
- 
getParametersDescription copied from interface:SQLRequestGets all the request's parameters- Specified by:
- getParametersin interface- SQLRequest
- Returns:
- Request parameters
 
 
-