Class LuceneSearchAggregationFactoryImpl
java.lang.Object
org.hibernate.search.engine.search.aggregation.dsl.spi.AbstractSearchAggregationFactory<LuceneSearchAggregationFactory,LuceneSearchAggregationIndexScope<?>,LuceneSearchPredicateFactory>
org.hibernate.search.backend.lucene.search.aggregation.dsl.impl.LuceneSearchAggregationFactoryImpl
- All Implemented Interfaces:
LuceneSearchAggregationFactory,ExtendedSearchAggregationFactory<LuceneSearchAggregationFactory,,LuceneSearchPredicateFactory> SearchAggregationFactory
public class LuceneSearchAggregationFactoryImpl
extends AbstractSearchAggregationFactory<LuceneSearchAggregationFactory,LuceneSearchAggregationIndexScope<?>,LuceneSearchPredicateFactory>
implements LuceneSearchAggregationFactory
-
Field Summary
Fields inherited from class org.hibernate.search.engine.search.aggregation.dsl.spi.AbstractSearchAggregationFactory
dslContext -
Constructor Summary
ConstructorsConstructorDescriptionLuceneSearchAggregationFactoryImpl(SearchAggregationDslContext<LuceneSearchAggregationIndexScope<?>, LuceneSearchPredicateFactory> dslContext) -
Method Summary
Modifier and TypeMethodDescriptionCreate a new aggregation factory whose root for all paths passed to the DSL will be the given object field.Methods inherited from class org.hibernate.search.engine.search.aggregation.dsl.spi.AbstractSearchAggregationFactory
extension, range, terms, toAbsolutePath, withParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.search.aggregation.dsl.ExtendedSearchAggregationFactory
range, termsMethods inherited from interface org.hibernate.search.engine.search.aggregation.dsl.SearchAggregationFactory
extension, toAbsolutePath, withParameters
-
Constructor Details
-
LuceneSearchAggregationFactoryImpl
public LuceneSearchAggregationFactoryImpl(SearchAggregationDslContext<LuceneSearchAggregationIndexScope<?>, LuceneSearchPredicateFactory> dslContext)
-
-
Method Details
-
withRoot
Description copied from interface:SearchAggregationFactoryCreate a new aggregation factory whose root for all paths passed to the DSL will be the given object field.See here for more information.
- Specified by:
withRootin interfaceExtendedSearchAggregationFactory<LuceneSearchAggregationFactory,LuceneSearchPredicateFactory> - Specified by:
withRootin interfaceSearchAggregationFactory- Parameters:
objectFieldPath- The path from the current root to an object field that will become the new root.- Returns:
- A new aggregation factory using the given object field as root.
-