Package net.sf.basedb.core
Class DynamicSpotQueryJoiners
- java.lang.Object
-
- net.sf.basedb.core.DynamicSpotQueryJoiners
-
public final class DynamicSpotQueryJoiners extends Object
This class collectsAutoJoiner
:s forDynamicSpotQuery
queries. The implementations are thread-safe and can be re-used between threads.- Version:
- 2.0
- Author:
- nicklas
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description 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 reportersprivate static class
DynamicSpotQueryJoiners.ReporterListJoiner
Joiner for reporter lists.
-
Field Summary
Fields Modifier and Type Field Description 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 theReporterListExpression.getAutoJoinType()
method overrides the default.static DynamicSpotQueryJoiners.ReporterListJoiner
REPORTER_LIST_LEFT
This instance joins reporter lists with a left join, unless theReporterListExpression.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
Constructors Constructor Description DynamicSpotQueryJoiners()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 theReporterListExpression.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 theReporterListExpression.getAutoJoinType()
method overrides the default.
-
-
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
orEXTRA_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
orREPORTERS_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
orRAWDATA_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
orREPORTER_LIST_INNER
-
-