io.crnk.jpa.query.querydsl.QuerydslTranslationContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of crnk-jpa Show documentation
Show all versions of crnk-jpa Show documentation
JSON API framework for Java
package io.crnk.jpa.query.querydsl;
import com.querydsl.core.types.EntityPath;
import com.querydsl.core.types.Expression;
import com.querydsl.core.types.Path;
import com.querydsl.core.types.Predicate;
import com.querydsl.jpa.impl.JPAQuery;
import com.querydsl.jpa.impl.JPAQueryFactory;
import io.crnk.meta.model.MetaAttributePath;
public interface QuerydslTranslationContext {
JPAQueryFactory getQueryFactory();
JPAQuery getQuery();
Path getRoot();
EntityPath
getParentRoot();
Expression getAttribute(MetaAttributePath attrPath);
EntityPath getJoin(MetaAttributePath path);
void addPredicate(Predicate predicate);
void addSelection(Expression> expression, String name);
QuerydslTranslationContext castFor(Class type);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy