public final class HqlQueryJoiners
extends java.lang.Object
AutoJoiner
:s for HqlQuery
queries. The implementations are thread-safe and can be re-used between threads.Modifier and Type | Class and Description |
---|---|
private static class |
HqlQueryJoiners.AnnotationJoiner
Joiner for annotations.
|
private static class |
HqlQueryJoiners.ReporterListJoiner
Joiner for reporter lists.
|
Modifier and Type | Field and Description |
---|---|
static HqlQueryJoiners.ReporterListJoiner |
REPORTER_LIST_INNER
This instance joins reporter lists with an inner join, unless the
ReporterListExpression.getAutoJoinType() method overrides
the default. |
static HqlQueryJoiners.ReporterListJoiner |
REPORTER_LIST_LEFT
This instance joins reporter lists with a left join, unless the
ReporterListExpression.getAutoJoinType() method overrides
the default. |
Constructor and Description |
---|
HqlQueryJoiners() |
Modifier and Type | Method and Description |
---|---|
static HqlQueryJoiners.AnnotationJoiner |
getAnnotationJoiner(JoinType joinType)
Get an annotation auto joiner.
|
static HqlQueryJoiners.ReporterListJoiner |
getReporterListJoiner(JoinType joinType)
Get a joiner instance for raw data for the specified join type.
|
public static final HqlQueryJoiners.ReporterListJoiner REPORTER_LIST_LEFT
ReporterListExpression.getAutoJoinType()
method overrides
the default.public static final HqlQueryJoiners.ReporterListJoiner REPORTER_LIST_INNER
ReporterListExpression.getAutoJoinType()
method overrides
the default.public static HqlQueryJoiners.ReporterListJoiner getReporterListJoiner(JoinType joinType)
joinType
- The type of joinREPORTER_LIST_LEFT
or REPORTER_LIST_INNER
public static HqlQueryJoiners.AnnotationJoiner getAnnotationJoiner(JoinType joinType)