com.bld.commons.processor.annotations.QueryBuilder Maven / Gradle / Ivy
The newest version!
/**
* @author Francesco Baldi
* @mail [email protected]
* @class bld.commons.processor.annotations.QueryBuilder.java
*/
package com.bld.commons.processor.annotations;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* The Interface QueryBuilder.
*/
@Retention(RetentionPolicy.SOURCE)
@Target(TYPE)
public @interface QueryBuilder {
/**
* Distinct.
*
* @return true, if successful
*/
public boolean distinct() default true;
/**
* Joins.
*
* @return the string[]
*/
public String[] joins() default {};
/**
* Conditions.
*
* @return the condition builder[]
*/
public ConditionBuilder[] conditions() default {};
/**
* Custom conditions.
*
* @return the custom condition builder[]
*/
public CustomConditionBuilder[] customConditions() default {};
/**
* Custom native conditions.
*
* @return the custom condition builder[]
*/
public CustomConditionBuilder[] customNativeConditions() default {};
/**
* Jpa order.
*
* @return the jpql order builder[]
*/
public JpqlOrderBuilder[] jpaOrder() default {};
/**
* Native order.
*
* @return the native order builder[]
*/
public NativeOrderBuilder[] nativeOrder() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy