org.mule.api.annotations
Annotation Type QueryTranslator


@Target(value=METHOD)
@Retention(value=SOURCE)
@Documented
public @interface QueryTranslator

This annotation is meant to translate an DSQL query into a native one.

The method annotated must receive an org.mule.common.query.DsqlQuery parameter and return an String.

This annotation must be within the Connector scope.

It is recommended to extend org.mule.common.query.DsqlQueryVisitor to easily do the translation of your query.



Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.