All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.crnk.jpa.query.querydsl.QuerydslTranslationContext Maven / Gradle / Ivy

There is a newer version: 2.6.20180522184741
Show newest version
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); }