public class ValueFacet extends SortableFacet implements StreamingFacet, Consumer<String>
StringValueStream.SortableFacet.FacetBucket, SortableFacet.FacetSortSpecificationsortcollectionManager, 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, setSortexportFacetValue, exportShardData, getName, importFacetValue, importShardData, setExpressionCalculator, setReductionCollectionManagerpublic ValueFacet(String name, StringValueStream expression)
public void addFacetValueCollectionTargets()
StreamingFacetReductionCollectionManager.ReductionDataCollections 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 StreamingFacetpublic StringValueStream getExpression()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.