org.qi4j.index.sql.internal
Class SQLEntityFinder
java.lang.Object
org.qi4j.index.sql.internal.SQLEntityFinder
- All Implemented Interfaces:
- EntityFinder
public class SQLEntityFinder
- extends Object
- implements EntityFinder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLEntityFinder
public SQLEntityFinder()
countEntities
public long countEntities(Class<?> resultType,
BooleanExpression whereClause)
throws EntityFinderException
- Specified by:
countEntities
in interface EntityFinder
- Throws:
EntityFinderException
findEntities
public Iterable<EntityReference> findEntities(Class<?> resultType,
BooleanExpression whereClause,
OrderBy[] orderBySegments,
Integer firstResult,
Integer maxResults)
throws EntityFinderException
- Specified by:
findEntities
in interface EntityFinder
- Throws:
EntityFinderException
findEntity
public EntityReference findEntity(Class<?> resultType,
BooleanExpression whereClause)
throws EntityFinderException
- Specified by:
findEntity
in interface EntityFinder
- Throws:
EntityFinderException