2.17.2: 2011-06-17

net.sf.basedb.core
Class DynamicSpotQueryJoiners

java.lang.Object
  extended by net.sf.basedb.core.DynamicSpotQueryJoiners

public final class DynamicSpotQueryJoiners
extends Object

This class collects AutoJoiner:s for DynamicSpotQuery queries. The implementations are thread-safe and can be re-used between threads.

Version:
2.0
Author:
nicklas
Last modified
$Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $

Nested Class Summary
private static class DynamicSpotQueryJoiners.ExtraValueJoiner
          Joiner for extra values.
private static class DynamicSpotQueryJoiners.RawDataJoiner
          Joiner for raw data.
private static class DynamicSpotQueryJoiners.ReporterJoiner
          Joiner for reporters
private static class DynamicSpotQueryJoiners.ReporterListJoiner
          Joiner for reporter lists.
 
Field Summary
static DynamicSpotQueryJoiners.ExtraValueJoiner EXTRA_VALUE_INNER
          This instance joins extra values with an inner join.
static DynamicSpotQueryJoiners.ExtraValueJoiner EXTRA_VALUE_LEFT
          This instance joins extra values with a left join.
static DynamicSpotQueryJoiners.RawDataJoiner RAWDATA_INNER
          This instance joins raw data with an inner join.
static DynamicSpotQueryJoiners.RawDataJoiner RAWDATA_LEFT
          This instance joins raw data with a left join.
static DynamicSpotQueryJoiners.ReporterListJoiner REPORTER_LIST_INNER
          This instance joins reporter lists with an inner join, unless the ReporterListExpression.getAutoJoinType() method overrides the default.
static DynamicSpotQueryJoiners.ReporterListJoiner REPORTER_LIST_LEFT
          This instance joins reporter lists with a left join, unless the ReporterListExpression.getAutoJoinType() method overrides the default.
static DynamicSpotQueryJoiners.ReporterJoiner REPORTERS_INNER
          This instance joins reporters with an inner join.
static DynamicSpotQueryJoiners.ReporterJoiner REPORTERS_LEFT
          This instance joins reporters with a left join.
 
Constructor Summary
DynamicSpotQueryJoiners()
           
 
Method Summary
static DynamicSpotQueryJoiners.ExtraValueJoiner getExtraValueJoiner(JoinType joinType)
          Get a joiner instance for extra values for the specified join type.
static DynamicSpotQueryJoiners.RawDataJoiner getRawDataJoiner(JoinType joinType)
          Get a joiner instance for raw data for the specified join type.
static DynamicSpotQueryJoiners.ReporterJoiner getReporterJoiner(JoinType joinType)
          Get a joiner instance for reporters for the specified join type.
static DynamicSpotQueryJoiners.ReporterListJoiner getReporterListJoiner(JoinType joinType)
          Get a joiner instance for raw data for the specified join type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTRA_VALUE_LEFT

public static final DynamicSpotQueryJoiners.ExtraValueJoiner EXTRA_VALUE_LEFT
This instance joins extra values with a left join.


EXTRA_VALUE_INNER

public static final DynamicSpotQueryJoiners.ExtraValueJoiner EXTRA_VALUE_INNER
This instance joins extra values with an inner join.


REPORTERS_LEFT

public static final DynamicSpotQueryJoiners.ReporterJoiner REPORTERS_LEFT
This instance joins reporters with a left join.


REPORTERS_INNER

public static final DynamicSpotQueryJoiners.ReporterJoiner REPORTERS_INNER
This instance joins reporters with an inner join.


RAWDATA_LEFT

public static final DynamicSpotQueryJoiners.RawDataJoiner RAWDATA_LEFT
This instance joins raw data with a left join.


RAWDATA_INNER

public static final DynamicSpotQueryJoiners.RawDataJoiner RAWDATA_INNER
This instance joins raw data with an inner join.


REPORTER_LIST_LEFT

public static final DynamicSpotQueryJoiners.ReporterListJoiner REPORTER_LIST_LEFT
This instance joins reporter lists with a left join, unless the ReporterListExpression.getAutoJoinType() method overrides the default.


REPORTER_LIST_INNER

public static final DynamicSpotQueryJoiners.ReporterListJoiner REPORTER_LIST_INNER
This instance joins reporter lists with an inner join, unless the ReporterListExpression.getAutoJoinType() method overrides the default.

Constructor Detail

DynamicSpotQueryJoiners

public DynamicSpotQueryJoiners()
Method Detail

getExtraValueJoiner

public static DynamicSpotQueryJoiners.ExtraValueJoiner getExtraValueJoiner(JoinType joinType)
Get a joiner instance for extra values for the specified join type.

Parameters:
joinType - The type of join
Returns:
EXTRA_VALUE_INNER or EXTRA_VALUE_LEFT

getReporterJoiner

public static DynamicSpotQueryJoiners.ReporterJoiner getReporterJoiner(JoinType joinType)
Get a joiner instance for reporters for the specified join type.

Parameters:
joinType - The type of join
Returns:
REPORTERS_LEFT or REPORTERS_INNER

getRawDataJoiner

public static DynamicSpotQueryJoiners.RawDataJoiner getRawDataJoiner(JoinType joinType)
Get a joiner instance for raw data for the specified join type.

Parameters:
joinType - The type of join
Returns:
RAWDATA_LEFT or RAWDATA_INNER

getReporterListJoiner

public static DynamicSpotQueryJoiners.ReporterListJoiner getReporterListJoiner(JoinType joinType)
Get a joiner instance for raw data for the specified join type.

Parameters:
joinType - The type of join
Returns:
REPORTER_LIST_LEFT or REPORTER_LIST_INNER

2.17.2: 2011-06-17