Class OrderByAdapter
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.OrderByAdapter
-
public class OrderByAdapter extends java.lang.Object
The ORDER BY part of a SELECT statement
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OrderByAdapter(Select select, OrderByClause ob)
Protected constructor for modeling the GROUP BY part of a SELECT statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderByAdapter
add(java.lang.String... strings)
Add the given string expressions to the order by clauseSelect
build()
Get the select statement we've been building
-
-
-
Constructor Detail
-
OrderByAdapter
protected OrderByAdapter(Select select, OrderByClause ob)
Protected constructor for modeling the GROUP BY part of a SELECT statement.- Parameters:
select
-ob
-
-
-
Method Detail
-
add
public OrderByAdapter add(java.lang.String... strings)
Add the given string expressions to the order by clause- Parameters:
strings
-- Returns:
-
build
public Select build()
Get the select statement we've been building- Returns:
-
-