org.apache.solr.handler.component
Class StatsValuesFactory
java.lang.Object
org.apache.solr.handler.component.StatsValuesFactory
public class StatsValuesFactory
- extends Object
Factory class for creating instance of StatsValues
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatsValuesFactory
public StatsValuesFactory()
createStatsValues
public static StatsValues createStatsValues(FieldType fieldType)
- Creates an instance of StatsValues which supports values from a field of the given FieldType
- Parameters:
fieldType
- Type of the field whose statistics will be created by the resulting StatsValues
- Returns:
- Instance of StatsValues that will create statistics from values from a field of the given type