Class SQLJoinOnKey
java.lang.Object
no.sikt.graphitron.definitions.sql.SQLJoinField
no.sikt.graphitron.definitions.sql.SQLJoinOnKey
- All Implemented Interfaces:
Comparable<SQLJoinField>
SQL join condition which joins on a single key generated by jOOQ, referred to by name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()intno.sikt.graphitron.javapoet.CodeBlocktoJoinString(JoinListSequence joinSequence, String aliasName) Methods inherited from class no.sikt.graphitron.definitions.sql.SQLJoinField
compareTo
-
Constructor Details
-
SQLJoinOnKey
- Parameters:
key- The name of a key generated by jOOQ.
-
-
Method Details
-
getKey
- Returns:
- jOOQ name of the key.
-
getOrderingPriority
public int getOrderingPriority()- Overrides:
getOrderingPriorityin classSQLJoinField- Returns:
- Ordering priority for this type of join condition.
-
getMethodCallName
- Specified by:
getMethodCallNamein classSQLJoinField- Returns:
- The name of the jOOQ method that corresponds to this condition.
-
toJoinString
public no.sikt.graphitron.javapoet.CodeBlock toJoinString(JoinListSequence joinSequence, String aliasName) - Specified by:
toJoinStringin classSQLJoinField- Parameters:
joinSequence- The source from which the join is originating. In other words, the left side of the join.aliasName- The name of the table alias to be used for this particular join statement.- Returns:
- A CodeBlock that contains a complete condition statement.
-