Class ConditionalExpressionQueryFactory<E,I>
- java.lang.Object
-
- org.hibernate.search.mapper.orm.loading.impl.ConditionalExpressionQueryFactory<E,I>
-
- All Implemented Interfaces:
TypeQueryFactory<E,I>
public abstract class ConditionalExpressionQueryFactory<E,I> extends Object implements TypeQueryFactory<E,I>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringuniquePropertyNameprotected Class<I>uniquePropertyType
-
Constructor Summary
Constructors Constructor Description ConditionalExpressionQueryFactory(Class<I> uniquePropertyType, String uniquePropertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.query.Query<Long>createQueryForCount(org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.metamodel.mapping.EntityMappingType entityMappingType, Set<? extends Class<? extends E>> includedTypesFilter, ConditionalExpression conditionalExpression)org.hibernate.query.Query<I>createQueryForIdentifierListing(org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.metamodel.mapping.EntityMappingType entityMappingType, Set<? extends Class<? extends E>> includedTypesFilter, ConditionalExpression conditionalExpression)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.mapper.orm.loading.impl.TypeQueryFactory
createMultiIdentifierLoadAccess, createQueryForCount, createQueryForIdentifierListing, createQueryForLoadByUniqueProperty, uniquePropertyIsTheEntityId
-
-
-
-
Method Detail
-
createQueryForCount
public org.hibernate.query.Query<Long> createQueryForCount(org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.metamodel.mapping.EntityMappingType entityMappingType, Set<? extends Class<? extends E>> includedTypesFilter, ConditionalExpression conditionalExpression)
- Specified by:
createQueryForCountin interfaceTypeQueryFactory<E,I>
-
createQueryForIdentifierListing
public org.hibernate.query.Query<I> createQueryForIdentifierListing(org.hibernate.engine.spi.SharedSessionContractImplementor session, org.hibernate.metamodel.mapping.EntityMappingType entityMappingType, Set<? extends Class<? extends E>> includedTypesFilter, ConditionalExpression conditionalExpression)
- Specified by:
createQueryForIdentifierListingin interfaceTypeQueryFactory<E,I>
-
-