public class ValueFacet extends SortableFacet implements StreamingFacet, Consumer<String>
StringValueStream
.SortableFacet.FacetBucket, SortableFacet.FacetSortSpecification
sort
collectionManager, expressionCalculator, name, reductionData
Constructor and Description |
---|
ValueFacet(String name,
StringValueStream expression) |
Modifier and Type | Method and Description |
---|---|
void |
accept(String t) |
void |
addFacetValueCollectionTargets()
Determine which facet values match the current document.
|
StringValueStream |
getExpression()
Get the expression used to create the facet values.
|
applyOptions, createOldResponse, createResponse, getSort, setSort
exportFacetValue, exportShardData, getName, importFacetValue, importShardData, setExpressionCalculator, setReductionCollectionManager
public ValueFacet(String name, StringValueStream expression)
public void addFacetValueCollectionTargets()
StreamingFacet
ReductionCollectionManager.ReductionDataCollection
s of the relevant facet values
to the targets of the streaming ReductionCollectionManager
so that they are updated with the current document's data.addFacetValueCollectionTargets
in interface StreamingFacet
public StringValueStream getExpression()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.