Package net.sf.basedb.core
Class DynamicSpotQueryJoiners.ExtraValueJoiner
java.lang.Object
net.sf.basedb.core.DynamicSpotQueryJoiners.ExtraValueJoiner
- All Implemented Interfaces:
AutoJoiner<DynamicSpotQuery,
ExtraValueExpression>
- Enclosing class:
- DynamicSpotQueryJoiners
private static class DynamicSpotQueryJoiners.ExtraValueJoiner
extends Object
implements AutoJoiner<DynamicSpotQuery,ExtraValueExpression>
Joiner for extra values.
- Version:
- 2.0
- Author:
- nicklas
- Last modified
- $Date: 2012-09-14 09:28:35 +0200 (fr, 14 sep 2012) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe type of the query element the implementation works for.The type of the query the implementation works for.void
joinIfNeeded
(DynamicSpotQuery query, ExtraValueExpression element) Automatically join the tables that is is needed by the query element unless they are already joined.void
reset
(DynamicSpotQuery query) Called to indicate thatQuery.reset()
has been called on the given query.
-
Field Details
-
joinType
-
-
Constructor Details
-
ExtraValueJoiner
-
-
Method Details
-
getQueryClass
Description copied from interface:AutoJoiner
The type of the query the implementation works for. This can be an actual subclass or a superclass.- Specified by:
getQueryClass
in interfaceAutoJoiner<DynamicSpotQuery,
ExtraValueExpression> - Returns:
- A class object representing the query type
-
getElementClass
Description copied from interface:AutoJoiner
The type of the query element the implementation works for. This can be an actual subclass or a superclass.- Specified by:
getElementClass
in interfaceAutoJoiner<DynamicSpotQuery,
ExtraValueExpression> - Returns:
- A class object representing the query element type
-
joinIfNeeded
Description copied from interface:AutoJoiner
Automatically join the tables that is is needed by the query element unless they are already joined.- Specified by:
joinIfNeeded
in interfaceAutoJoiner<DynamicSpotQuery,
ExtraValueExpression> - Parameters:
query
- The queryelement
- The query element
-
reset
Description copied from interface:AutoJoiner
Called to indicate thatQuery.reset()
has been called on the given query.- Specified by:
reset
in interfaceAutoJoiner<DynamicSpotQuery,
ExtraValueExpression> - Parameters:
query
- The query
-