Class ReporterListJoin

java.lang.Object
net.sf.basedb.core.ReporterListJoin
All Implemented Interfaces:
Join, QueryElement

class ReporterListJoin extends Object implements Join
Represents a join to a reporter list in a dynamic query: leftTable JOIN ReporterListScores ON ...

This class is used by, for example, DynamicSpotQuery.joinReporterList(ReporterList, JoinType) to create the Join query element that is needed. After the reporter list has been join it can be used in expressions in the query.

Version:
2.0
Author:
Nicklas
See Also:
Last modified
$Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
  • Field Details

    • reporterList

      private final ReporterList reporterList
    • joinType

      private final JoinType joinType
    • leftAlias

      private final String leftAlias
    • leftColumn

      private final String leftColumn
  • Constructor Details

    • ReporterListJoin

      ReporterListJoin(ReporterList reporterList, JoinType joinType, VirtualTable left, VirtualColumn leftColumn)
      Create a new join to a reporter list using the given VirtualTable as the left table. The given VirtualColumn should hold the reporter id values.
      Parameters:
      reporterList - The reporter list to join
      joinType - The type of join
      left - The left table
      leftColumn - The column in the left table holding reporter id:s
      Since:
      3.0
    • ReporterListJoin

      ReporterListJoin(ReporterList reporterList, JoinType joinType, RealTable left, String leftColumn)
      Create a new join to a reporter list using the given RealTable as the left table. The given leftColumn should hold the reporter id values.
      Parameters:
      reporterList - The reporter list to join
      joinType - The type of join
      left - The left table
      leftColumn - The column in the left table holding reporter id:s
      Since:
      3.0
  • Method Details