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

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

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

import java.util.List;

public interface JpaQueryExecutor {

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

	public T getUniqueResult(boolean nullable);

	public List getResultList();

	public JpaQueryExecutor setLimit(int limit);

	public JpaQueryExecutor setOffset(int offset);

	public JpaQueryExecutor setWindow(int offset, int limit);

	public JpaQueryExecutor setCached(boolean cached);

	public JpaQueryExecutor fetch(List attrPath);

	public Class getEntityClass();

	public  List getResultTuples();
}