Class WhereAdapter
- java.lang.Object
 - 
- com.ibm.fhir.database.utils.query.WhereAdapter
 
 
- 
public class WhereAdapter extends Object
Adapter to help build the WHERE clause expression. To allow a fluent style, we construct an expression tree 
- 
- 
Constructor Summary
Constructors Constructor Description WhereAdapter(Select select, String predicate)Public constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Selectbuild()GroupByAdaptergroupBy(String... expressions)Start building the GROUP BY clauseOrderByAdapterorderBy(String... expressions)Start building the ORDER BY clauseWhereAdapterwhere(String predicate) 
 - 
 
- 
- 
Method Detail
- 
where
public WhereAdapter where(String predicate)
- Parameters:
 predicate-- Returns:
 
 
- 
groupBy
public GroupByAdapter groupBy(String... expressions)
Start building the GROUP BY clause- Parameters:
 expressions-- Returns:
 
 
- 
orderBy
public OrderByAdapter orderBy(String... expressions)
Start building the ORDER BY clause- Parameters:
 expressions-- Returns:
 
 
- 
build
public Select build()
 
 - 
 
 -