public abstract class FacetCollector<T> extends Object
Constructor and Description |
---|
FacetCollector() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addFacetProperty(VirtualProperty property)
Add a property over which facets are collected.
|
abstract Set<Map.Entry<String,T>> |
getFacets(VirtualProperty property)
Returns all facets for the given property.
|
abstract T |
getFacetValue(VirtualProperty property,
String facet)
Returns a facet value.
|
abstract Collection<VirtualProperty> |
getProperties()
Returns the properties for which facets are collected..
|
public abstract void addFacetProperty(VirtualProperty property)
property
- A virtual property over which facets are collected.public abstract Collection<VirtualProperty> getProperties()
public abstract Set<Map.Entry<String,T>> getFacets(VirtualProperty property)
property
- the property.public abstract T getFacetValue(VirtualProperty property, String facet)
property
- The property.facet
- The facet.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.