|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=PARAMETER) @Retention(value=SOURCE) @Documented public @interface Query
This annotation is meant to be applied to support easy query building by using DataSense Query Language, DSQL.
This annotation must be defined within your @Connector scope.
The parameter annotated with @Query can be either String or org.mule.common.query.DsqlQuery.
The latter is not recommended as it can break your connector compatibility.
When an String parameter is annotated, you
can assume your query has been translated to your connector native query language by @QueryTranslator.
ie, the @QueryTranslator is required.
On the other hand when an org.mule.common.query.DsqlQuery is annotated, you must do the translation within your processor.
| Optional Element Summary | |
|---|---|
QueryOperator[] |
disabledOperators
Specify operators disabled in the displayed DSQL language. |
boolean |
limit
Limit feature is enabled or disabled |
boolean |
offset
Offset feature is enabled or disabled |
boolean |
orderBy
OrderBy feature is enabled or disabled |
public abstract QueryOperator[] disabledOperators
public abstract boolean limit
public abstract boolean offset
public abstract boolean orderBy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||