Class FromJoin
- java.lang.Object
-
- org.linuxforhealth.fhir.database.utils.query.FromItem
-
- org.linuxforhealth.fhir.database.utils.query.FromJoin
-
public class FromJoin extends FromItem
Models a JOIN element in the from clause
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FromJoin.JoinType
-
Constructor Summary
Constructors Modifier Constructor Description protected
FromJoin(FromJoin.JoinType joinType, RowSource rowSource, Alias alias, ExpNode joinOnPredicate)
Protected constructorprotected
FromJoin(FromJoin.JoinType joinType, RowSource rowSource, ExpNode joinOnPredicate)
Protected constructor for a join which doesn't include an alias
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Constructor Detail
-
FromJoin
protected FromJoin(FromJoin.JoinType joinType, RowSource rowSource, Alias alias, ExpNode joinOnPredicate)
Protected constructor- Parameters:
joinType
-rowSource
-alias
-joinOnPredicate
-
-
FromJoin
protected FromJoin(FromJoin.JoinType joinType, RowSource rowSource, ExpNode joinOnPredicate)
Protected constructor for a join which doesn't include an alias- Parameters:
joinType
-rowSource
-joinOnPredicate
-
-
-
Method Detail
-
isAnsiJoin
public boolean isAnsiJoin()
Description copied from class:FromItem
Is this an ANSI-style join?- Overrides:
isAnsiJoin
in classFromItem
- Returns:
-
toPrettyString
public java.lang.String toPrettyString(boolean pretty)
Description copied from class:FromItem
Render a string version of the item (for use when debugging)- Overrides:
toPrettyString
in classFromItem
- Returns:
-
render
public <T> T render(StatementRenderer<T> renderer)
Description copied from class:FromItem
Render this item using the given renderer
-
-