2.17.2: 2011-06-17

net.sf.basedb.core
Class DynamicPositionQueryJoiners

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

public final class DynamicPositionQueryJoiners
extends Object

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

Version:
2.12
Author:
nicklas
Last modified
$Date: 2009-05-13 13:01:46 +0200 (Wed, 13 May 2009) $

Nested Class Summary
private static class DynamicPositionQueryJoiners.ExtraValueJoiner
          Joiner for extra values.
private static class DynamicPositionQueryJoiners.ReporterJoiner
          Joiner for reporters
 
Field Summary
static DynamicPositionQueryJoiners.ExtraValueJoiner EXTRA_VALUE_INNER
          This instance joins extra values with an inner join.
static DynamicPositionQueryJoiners.ExtraValueJoiner EXTRA_VALUE_LEFT
          This instance joins extra values with a left join.
static DynamicPositionQueryJoiners.ReporterJoiner REPORTERS_INNER
          This instance joins reporters with an inner join.
static DynamicPositionQueryJoiners.ReporterJoiner REPORTERS_LEFT
          This instance joins reporters with a left join.
 
Constructor Summary
DynamicPositionQueryJoiners()
           
 
Method Summary
static DynamicPositionQueryJoiners.ExtraValueJoiner getExtraValueJoiner(JoinType joinType)
          Get a joiner instance for extra values for the specified join type.
static DynamicPositionQueryJoiners.ReporterJoiner getReporterJoiner(JoinType joinType)
          Get a joiner instance for reporters 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 DynamicPositionQueryJoiners.ExtraValueJoiner EXTRA_VALUE_LEFT
This instance joins extra values with a left join.


EXTRA_VALUE_INNER

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


REPORTERS_LEFT

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


REPORTERS_INNER

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

Constructor Detail

DynamicPositionQueryJoiners

public DynamicPositionQueryJoiners()
Method Detail

getExtraValueJoiner

public static DynamicPositionQueryJoiners.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 DynamicPositionQueryJoiners.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

2.17.2: 2011-06-17