Class FromItem
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.FromItem
-
- Direct Known Subclasses:
FromJoin
public class FromItem extends java.lang.ObjectAn element in the FROM clause - TableRowSource: FROM xx_LOGICAL_RESOURCES AS LR0 - SelectRowSource: FROM (SELECT LR.LOGICAL_ID FROM ...) AS SUB0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AliasgetAlias()Get the alias associated with this item in the from clause.booleanisAnsiJoin()Is this an ANSI-style join?<T> Trender(StatementRenderer<T> renderer)Render this item using the given rendererjava.lang.StringtoPrettyString(boolean pretty)Render a string version of the item (for use when debugging)java.lang.StringtoString()
-
-
-
Method Detail
-
getAlias
public Alias getAlias()
Get the alias associated with this item in the from clause.- Returns:
- the alias for this item. Can be null
-
isAnsiJoin
public boolean isAnsiJoin()
Is this an ANSI-style join?- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toPrettyString
public java.lang.String toPrettyString(boolean pretty)
Render a string version of the item (for use when debugging)- Parameters:
pretty-- Returns:
-
render
public <T> T render(StatementRenderer<T> renderer)
Render this item using the given renderer- Type Parameters:
T-- Parameters:
renderer-- Returns:
-
-