PivotNode.PivotBranch<T>, PivotNode.PivotLeafSortableFacet.FacetBucket, SortableFacet.FacetSortSpecificationcurrentPivotsortcollectionManager, expressionCalculator, name, reductionData| Constructor and Description | 
|---|
| PivotLeaf(String name,
         StringValueStream expression) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | accept(String pivotValue) | 
| protected void | exportPivotValue(DataOutput output,
                ReductionCollectionManager.ReductionDataCollection pivotData)Export the given pivot data, containing  ReductionDataand pivot children if they exist. | 
| Iterable<Map<String,Object>> | getPivotedResponse(Map<String,ReductionCollectionManager.ReductionDataCollection> pivot)Create the response of the facet to be returned in the overall analytics response. | 
| protected void | importPivotValue(DataInput input,
                String pivotValue)Import the next pivot value's set of  ReductionDataand children'sReductionDataif they exist. | 
addFacetValueCollectionTargets, exportPivot, importPivotapplyOptions, createOldResponse, createResponse, getSort, setSortexportFacetValue, exportShardData, getName, importFacetValue, importShardData, setExpressionCalculator, setReductionCollectionManagerpublic PivotLeaf(String name, StringValueStream expression)
public void accept(String pivotValue)
protected void importPivotValue(DataInput input, String pivotValue) throws IOException
PivotNodeReductionData and children's ReductionData if they exist.importPivotValue in class PivotNode<ReductionCollectionManager.ReductionDataCollection>input - the bit-stream to import the reduction data frompivotValue - the next pivot valueIOException - if an exception occurs while reading from the inputprotected void exportPivotValue(DataOutput output, ReductionCollectionManager.ReductionDataCollection pivotData) throws IOException
PivotNodeReductionData and pivot children if they exist.exportPivotValue in class PivotNode<ReductionCollectionManager.ReductionDataCollection>output - the bit-stream to output the reduction data topivotData - the next pivot value dataIOException - if an exception occurs while reading from the inputpublic Iterable<Map<String,Object>> getPivotedResponse(Map<String,ReductionCollectionManager.ReductionDataCollection> pivot)
PivotNodegetPivotedResponse in class PivotNode<ReductionCollectionManager.ReductionDataCollection>pivot - the pivot to create a response forCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.