Class TableRowSource
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.TableRowSource
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTableRowSource(java.lang.String tableName)Protected constructor for a table without a qualified schema nameprotectedTableRowSource(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 AliasgetImpliedAlias()Get an implied alias for this row source if one is appropriate (e.g.<T> Trender(StatementRenderer<T> renderer)Render the row sourcejava.lang.StringtoPrettyString(boolean pretty)Render the object as a stringjava.lang.StringtoString()
-
-
-
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:RowSourceGet an implied alias for this row source if one is appropriate (e.g. the table name)- Specified by:
getImpliedAliasin interfaceRowSource- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toPrettyString
public java.lang.String toPrettyString(boolean pretty)
Description copied from interface:RowSourceRender the object as a string- Specified by:
toPrettyStringin interfaceRowSource- Parameters:
pretty- pretty-print the return value if true- Returns:
-
render
public <T> T render(StatementRenderer<T> renderer)
Description copied from interface:RowSourceRender the row source
-
-