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

io.katharsis.jpa.query.JpaQuery Maven / Gradle / Ivy

There is a newer version: 3.0.2
Show newest version
package io.katharsis.jpa.query;

import java.util.List;

import javax.persistence.criteria.JoinType;

import io.katharsis.queryspec.Direction;
import io.katharsis.queryspec.FilterOperator;
import io.katharsis.queryspec.FilterSpec;
import io.katharsis.queryspec.SortSpec;

public interface JpaQuery {

	public JpaQuery setEnsureTotalOrder(boolean ensureTotalOrder);

	public JpaQuery addFilter(FilterSpec filters);

	public JpaQuery addSortBy(List path, Direction dir);

	public JpaQuery addSortBy(SortSpec order);

	public JpaQuery setDefaultJoinType(JoinType joinType);

	public JpaQuery setJoinType(List path, JoinType joinType);

	public JpaQuery setAutoGroupBy(boolean autoGroupBy);

	public JpaQuery setDistinct(boolean distinct);

	public JpaQuery addFilter(List attrPath, FilterOperator operator, Object value);

	public JpaQuery addFilter(String attrPath, FilterOperator operator, Object value);

	public JpaQueryExecutor buildExecutor();

	public Class getEntityClass();

	public void addSelection(List path);

	public void addParentIdSelection();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy