Package com.blazebit.persistence.view
Annotation Type MappingSubquery
-
@Target({METHOD,PARAMETER}) @Retention(RUNTIME) public @interface MappingSubquery
Maps the annotated attribute as subquery.- Since:
- 1.0.0
- Author:
- Christian Beikov
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends SubqueryProvider>
value
The class which provides the subquery.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
expression
The expression around the subquery.String
subqueryAlias
The subquery alias.
-
-
-
Element Detail
-
value
Class<? extends SubqueryProvider> value
The class which provides the subquery.- Returns:
- The subquery provider
-
-
-
expression
String expression
The expression around the subquery.- Returns:
- The expression
- See Also:
SelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String)
- Default:
- ""
-
-
-
subqueryAlias
String subqueryAlias
The subquery alias.- Returns:
- The subquery alias
- See Also:
SelectBuilder.selectSubquery(java.lang.String,java.lang.String,java.lang.String)
- Default:
- ""
-
-