private static class DynamicSpotQueryJoiners.ReporterJoiner extends Object implements AutoJoiner<DynamicSpotQuery,ReporterPropertyExpression>
Modifier | Constructor and Description |
---|---|
private |
DynamicSpotQueryJoiners.ReporterJoiner(JoinType joinType) |
Modifier and Type | Method and Description |
---|---|
Class<ReporterPropertyExpression> |
getElementClass()
The type of the query element the implementation works for.
|
Class<DynamicSpotQuery> |
getQueryClass()
The type of the query the implementation works for.
|
void |
joinIfNeeded(DynamicSpotQuery query,
ReporterPropertyExpression 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 that
Query.reset() has been called on the
given query. |
private final JoinType joinType
private DynamicSpotQueryJoiners.ReporterJoiner(JoinType joinType)
public Class<DynamicSpotQuery> getQueryClass()
AutoJoiner
getQueryClass
in interface AutoJoiner<DynamicSpotQuery,ReporterPropertyExpression>
public Class<ReporterPropertyExpression> getElementClass()
AutoJoiner
getElementClass
in interface AutoJoiner<DynamicSpotQuery,ReporterPropertyExpression>
public void joinIfNeeded(DynamicSpotQuery query, ReporterPropertyExpression element)
AutoJoiner
joinIfNeeded
in interface AutoJoiner<DynamicSpotQuery,ReporterPropertyExpression>
query
- The queryelement
- The query elementpublic void reset(DynamicSpotQuery query)
AutoJoiner
Query.reset()
has been called on the
given query.reset
in interface AutoJoiner<DynamicSpotQuery,ReporterPropertyExpression>
query
- The query