com.github.aqiu202.starters.jpa.query.dsl.JPAQueryExecutor Maven / Gradle / Ivy
package com.github.aqiu202.starters.jpa.query.dsl;
import com.querydsl.core.Tuple;
import com.querydsl.core.types.EntityPath;
import com.querydsl.core.types.Expression;
import com.querydsl.jpa.JPQLQueryFactory;
import com.querydsl.jpa.impl.JPADeleteClause;
import com.querydsl.jpa.impl.JPAUpdateClause;
import java.util.List;
public interface JPAQueryExecutor extends JPQLQueryFactory {
JPADeleteClause delete(EntityPath> path);
JPANAQuery select(Expression expr);
JPANAQuery select(Expression>... exprs);
JPANAQuery selectDistinct(Expression expr);
JPANAQuery selectDistinct(Expression>... exprs);
JPANAQuery selectOne();
JPANAQuery selectZero();
JPANAQuery selectFrom(EntityPath from);
JPANAQuery> from(EntityPath> from);
JPANAQuery> from(EntityPath>... from);
JPAUpdateClause update(EntityPath> path);
JPANAQuery> query();
T save(T entity);
T saveAndFlush(T entity);
List save(Iterable entities);
}