public class PivotFacetHelper extends Object
Constructor and Description |
---|
PivotFacetHelper() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
decodeRefinementValuePath(String valuePath)
Decodes a value path string specified for refinement.
|
static String |
encodeRefinementValuePath(List<String> values)
Encodes a value path as a string for the purposes of a refinement request
|
static Integer |
getCount(NamedList<Object> pivotList) |
static String |
getField(NamedList<Object> pivotList) |
static List<NamedList<Object>> |
getPivots(NamedList<Object> pivotList) |
static Comparable |
getValue(NamedList<Object> pivotList) |
public static String encodeRefinementValuePath(List<String> values)
public static List<String> decodeRefinementValuePath(String valuePath)
public static Comparable getValue(NamedList<Object> pivotList)
PivotListEntry.VALUE
public static String getField(NamedList<Object> pivotList)
PivotListEntry.FIELD
public static Integer getCount(NamedList<Object> pivotList)
PivotListEntry.COUNT
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.