private static class DynamicPositionQueryJoiners.ExtraValueJoiner extends java.lang.Object implements AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
Modifier | Constructor and Description |
---|---|
private |
ExtraValueJoiner(JoinType joinType) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<ExtraValueExpression> |
getElementClass()
The type of the query element the implementation works for.
|
java.lang.Class<DynamicPositionQuery> |
getQueryClass()
The type of the query the implementation works for.
|
void |
joinIfNeeded(DynamicPositionQuery query,
ExtraValueExpression element)
Automatically join the tables that is is needed by the query element unless
they are already joined.
|
void |
reset(DynamicPositionQuery query)
Called to indicate that
Query.reset() has been called on the
given query. |
private final JoinType joinType
private ExtraValueJoiner(JoinType joinType)
public java.lang.Class<DynamicPositionQuery> getQueryClass()
AutoJoiner
getQueryClass
in interface AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
public java.lang.Class<ExtraValueExpression> getElementClass()
AutoJoiner
getElementClass
in interface AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
public void joinIfNeeded(DynamicPositionQuery query, ExtraValueExpression element)
AutoJoiner
joinIfNeeded
in interface AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
query
- The queryelement
- The query elementpublic void reset(DynamicPositionQuery query)
AutoJoiner
Query.reset()
has been called on the
given query.reset
in interface AutoJoiner<DynamicPositionQuery,ExtraValueExpression>
query
- The query