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

io.crnk.jpa.query.JpaQueryExecutor Maven / Gradle / Ivy

There is a newer version: 2.6.20180522184741
Show newest version
package io.crnk.jpa.query;

import java.util.List;

public interface JpaQueryExecutor {

	/**
	 * @return Count the number of objects returned without any paging applied.
	 */
	long getTotalRowCount();

	T getUniqueResult(boolean nullable);

	List getResultList();

	JpaQueryExecutor setLimit(int limit);

	JpaQueryExecutor setOffset(int offset);

	JpaQueryExecutor setWindow(int offset, int limit);

	JpaQueryExecutor setCached(boolean cached);

	JpaQueryExecutor fetch(List attrPath);

	Class getEntityClass();

	 List getResultTuples();

	int getLimit();
}