Class TableRowSource
- java.lang.Object
-
- com.ibm.fhir.database.utils.query.TableRowSource
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TableRowSource(java.lang.String tableName)
Protected constructor for a table without a qualified schema nameprotected
TableRowSource(java.lang.String schemaName, java.lang.String tableName)
Protected constructor for a table qualified by schema name
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alias
getImpliedAlias()
Get an implied alias for this row source if one is appropriate (e.g.<T> T
render(StatementRenderer<T> renderer)
Render the row sourcejava.lang.String
toPrettyString(boolean pretty)
Render the object as a stringjava.lang.String
toString()
-
-
-
Constructor Detail
-
TableRowSource
protected TableRowSource(java.lang.String tableName)
Protected constructor for a table without a qualified schema name- Parameters:
tableName
-
-
TableRowSource
protected TableRowSource(java.lang.String schemaName, java.lang.String tableName)
Protected constructor for a table qualified by schema name- Parameters:
schemaName
-tableName
-
-
-
Method Detail
-
getImpliedAlias
public Alias getImpliedAlias()
Description copied from interface:RowSource
Get an implied alias for this row source if one is appropriate (e.g. the table name)- Specified by:
getImpliedAlias
in interfaceRowSource
- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toPrettyString
public java.lang.String toPrettyString(boolean pretty)
Description copied from interface:RowSource
Render the object as a string- Specified by:
toPrettyString
in interfaceRowSource
- Parameters:
pretty
- pretty-print the return value if true- Returns:
-
render
public <T> T render(StatementRenderer<T> renderer)
Description copied from interface:RowSource
Render the row source
-
-