Class SQLAlias
java.lang.Object
no.sikt.graphitron.definitions.sql.SQLAlias
For multiple joins on the same table, aliases are required to distinguish them.
-
Constructor Details
-
SQLAlias
- Parameters:
joinTargetMethod- The table to be joined with, using the provided method.joinSourceTable- The table to be joined from.
-
-
Method Details
-
getJoinSourceTable
- Returns:
- Source table to join from. The "left" side of a join statement.
-
getJoinTargetMethod
- Returns:
- The target table to be joined with. The "right" side of a join statement.
-
getName
- Returns:
- The alias to be used to uniquely distinguish this join operation.
-
getShortName
- Returns:
- Shortened alias name that will not exceed the max character limit for aliases.
-
toString
-
equals
-
hashCode
public int hashCode()
-