Class SQLJoinStatement
java.lang.Object
no.sikt.graphitron.definitions.sql.SQLJoin
no.sikt.graphitron.definitions.sql.SQLJoinStatement
An extension of
SQLJoin with additional data on which table to join towards and which alias should be used.
This class then contains all the information necessary to construct a complete join statement.-
Constructor Summary
ConstructorsConstructorDescriptionSQLJoinStatement(JoinListSequence joinSequence, JoinElement joinTargetTable, AliasWrapper joinAlias, List<SQLJoinField> joinFields, boolean nullable) -
Method Summary
Methods inherited from class no.sikt.graphitron.definitions.sql.SQLJoin
getJoinFields, getJoinType, toJoinString
-
Constructor Details
-
SQLJoinStatement
public SQLJoinStatement(JoinListSequence joinSequence, JoinElement joinTargetTable, AliasWrapper joinAlias, List<SQLJoinField> joinFields, boolean nullable) - Parameters:
joinTargetTable- The "right" side of a join statement. This is the table to be joined with.joinFields- List of any conditions for the join operation.nullable- What kind of join operation is to be used.
-
-
Method Details
-
getJoinSequence
- Overrides:
getJoinSequencein classSQLJoin- Returns:
- Source table to join from. The "left" side of a join statement.
-
getJoinTargetTable
- Returns:
- The target table to be joined with. The "right" side of a join statement.
-
getJoinAlias
- Returns:
- The alias to be used to uniquely distinguish this join operation.
-
toJoinString
public no.sikt.graphitron.javapoet.CodeBlock toJoinString()- Returns:
- A string that contains a complete join statement followed by all conditions set for this join.
-
equals
-
hashCode
public int hashCode()
-