Interface HibernateOrmSearchQuerySelectStep<E>
-
- All Superinterfaces:
SearchQuerySelectStep<SearchQueryOptionsStep<?,E,SearchLoadingOptionsStep,?,?>,EntityReference,E,SearchLoadingOptionsStep,SearchProjectionFactory<EntityReference,E>,SearchPredicateFactory>,SearchQueryWhereStep<SearchQueryOptionsStep<?,E,SearchLoadingOptionsStep,?,?>,E,SearchPredicateFactory>
@Deprecated public interface HibernateOrmSearchQuerySelectStep<E> extends SearchQuerySelectStep<SearchQueryOptionsStep<?,E,SearchLoadingOptionsStep,?,?>,EntityReference,E,SearchLoadingOptionsStep,SearchProjectionFactory<EntityReference,E>,SearchPredicateFactory>
Deprecated.UseSearchQuerySelectStepinstead.The initial step in a query definition, where the type of query hits can be set, or where the predicate can be set directly, assuming that query hits are returned as entities.- See Also:
SearchQuerySelectStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description HibernateOrmSearchQuerySelectStep<E>cacheLookupStrategy(EntityLoadingCacheLookupStrategy strategy)Deprecated.Call.loading( o -> o.cacheLookupStrategy( ... )near the end of the query definition instead.HibernateOrmSearchQuerySelectStep<E>fetchSize(int fetchSize)Deprecated.Call.loading( o -> o.fetchSize( ... )near the end of the query definition instead.-
Methods inherited from interface org.hibernate.search.engine.search.query.dsl.SearchQuerySelectStep
asEntity, asEntityReference, asProjection, asProjection, asProjections, extension, select, select, select, selectEntity, selectEntityReference
-
Methods inherited from interface org.hibernate.search.engine.search.query.dsl.SearchQueryWhereStep
predicate, predicate, where, where
-
-
-
-
Method Detail
-
fetchSize
@Deprecated HibernateOrmSearchQuerySelectStep<E> fetchSize(int fetchSize)
Deprecated.Call.loading( o -> o.fetchSize( ... )near the end of the query definition instead.Set the JDBC fetch size for this query.- Parameters:
fetchSize- The fetch size. Must be positive or zero.- Returns:
thisfor method chaining.- See Also:
Query.setFetchSize(int)
-
cacheLookupStrategy
@Deprecated HibernateOrmSearchQuerySelectStep<E> cacheLookupStrategy(EntityLoadingCacheLookupStrategy strategy)
Deprecated.Call.loading( o -> o.cacheLookupStrategy( ... )near the end of the query definition instead.Set the strategy for cache lookup before query results are loaded.- Parameters:
strategy- The strategy.- Returns:
thisfor method chaining.
-
-