Class FromItem
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.FromItem
-
- Direct Known Subclasses:
FromJoin
public class FromItem extends java.lang.Object
An 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 Alias
getAlias()
Get the alias associated with this item in the from clause.boolean
isAnsiJoin()
Is this an ANSI-style join?<T> T
render(StatementRenderer<T> renderer)
Render this item using the given rendererjava.lang.String
toPrettyString(boolean pretty)
Render a string version of the item (for use when debugging)java.lang.String
toString()
-
-
-
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:
toString
in 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:
-
-