Package net.sf.basedb.core
Class DynamicSpotQueryJoiners
java.lang.Object
net.sf.basedb.core.DynamicSpotQueryJoiners
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: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Joiner for extra values.private static class
Joiner for raw data.private static class
Joiner for reportersprivate static class
Joiner for reporter lists. -
Field Summary
Modifier and TypeFieldDescriptionstatic final DynamicSpotQueryJoiners.ExtraValueJoiner
This instance joins extra values with an inner join.static final DynamicSpotQueryJoiners.ExtraValueJoiner
This instance joins extra values with a left join.static final DynamicSpotQueryJoiners.RawDataJoiner
This instance joins raw data with an inner join.static final DynamicSpotQueryJoiners.RawDataJoiner
This instance joins raw data with a left join.static final DynamicSpotQueryJoiners.ReporterListJoiner
This instance joins reporter lists with an inner join, unless theReporterListExpression.getAutoJoinType()
method overrides the default.static final DynamicSpotQueryJoiners.ReporterListJoiner
This instance joins reporter lists with a left join, unless theReporterListExpression.getAutoJoinType()
method overrides the default.static final DynamicSpotQueryJoiners.ReporterJoiner
This instance joins reporters with an inner join.static final DynamicSpotQueryJoiners.ReporterJoiner
This instance joins reporters with a left join. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExtraValueJoiner
(JoinType joinType) Get a joiner instance for extra values for the specified join type.getRawDataJoiner
(JoinType joinType) Get a joiner instance for raw data for the specified join type.getReporterJoiner
(JoinType joinType) Get a joiner instance for reporters for the specified join type.getReporterListJoiner
(JoinType joinType) Get a joiner instance for raw data for the specified join type.
-
Field Details
-
EXTRA_VALUE_LEFT
This instance joins extra values with a left join. -
EXTRA_VALUE_INNER
This instance joins extra values with an inner join. -
REPORTERS_LEFT
This instance joins reporters with a left join. -
REPORTERS_INNER
This instance joins reporters with an inner join. -
RAWDATA_LEFT
This instance joins raw data with a left join. -
RAWDATA_INNER
This instance joins raw data with an inner join. -
REPORTER_LIST_LEFT
This instance joins reporter lists with a left join, unless theReporterListExpression.getAutoJoinType()
method overrides the default. -
REPORTER_LIST_INNER
This instance joins reporter lists with an inner join, unless theReporterListExpression.getAutoJoinType()
method overrides the default.
-
-
Constructor Details
-
DynamicSpotQueryJoiners
public DynamicSpotQueryJoiners()
-
-
Method Details
-
getExtraValueJoiner
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
Get a joiner instance for reporters for the specified join type.- Parameters:
joinType
- The type of join- Returns:
REPORTERS_LEFT
orREPORTERS_INNER
-
getRawDataJoiner
Get a joiner instance for raw data for the specified join type.- Parameters:
joinType
- The type of join- Returns:
RAWDATA_LEFT
orRAWDATA_INNER
-
getReporterListJoiner
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
-