Class PropertyFacetExtractor
java.lang.Object
com.day.cq.search.facets.extractors.PropertyFacetExtractor
- All Implemented Interfaces:
FacetExtractor
- Direct Known Subclasses:
DistinctValuesFacetExtractor,PredefinedBucketsFacetExtractor
PropertyFacetExtractor is a base class for facet extractors that
work on a certain property (incl. relative paths to properties in sub-nodes),
specified by the parameter propertyRelPath in the constructor.
In addition, subclasses can implement filter(List, ValueFactory) for
further filtering of the list of values.- Since:
- 5.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleNode(Node node) Called for each node of the result set.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.day.cq.search.facets.FacetExtractor
getFacet
-
Constructor Details
-
PropertyFacetExtractor
-
-
Method Details
-
handleNode
Description copied from interface:FacetExtractorCalled for each node of the result set.- Specified by:
handleNodein interfaceFacetExtractor- Parameters:
node- node in the result- Throws:
RepositoryException- if access to the node failed, ie. one of the methods on node threw an exception
-