Class SelectList
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.SelectList
-
public class SelectList extends java.lang.Object
Represents the list of columns, expressions or sub-queries being selected from one or more tables (or subqueries)
-
-
Constructor Summary
Constructors Constructor Description SelectList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SelectItemColumn
addColumn(java.lang.String c)
SelectItemColumn
addColumn(java.lang.String columnValue, Alias alias)
Add a value column (used to add literals)SelectItemColumn
addColumn(java.lang.String source, java.lang.String name)
SelectItemColumn
addColumn(java.lang.String source, java.lang.String name, Alias alias)
SelectItemSubQuery
addSubQuery(Select subQuery, Alias alias)
java.lang.String
toString()
-
-
-
Method Detail
-
addColumn
public SelectItemColumn addColumn(java.lang.String c)
-
addColumn
public SelectItemColumn addColumn(java.lang.String source, java.lang.String name)
-
addColumn
public SelectItemColumn addColumn(java.lang.String source, java.lang.String name, Alias alias)
-
addColumn
public SelectItemColumn addColumn(java.lang.String columnValue, Alias alias)
Add a value column (used to add literals)- Parameters:
columnValue
-alias
-- Returns:
-
addSubQuery
public SelectItemSubQuery addSubQuery(Select subQuery, Alias alias)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-