org.apache.solr.handler.component
Class StatsValuesFactory

java.lang.Object
  extended by org.apache.solr.handler.component.StatsValuesFactory

public class StatsValuesFactory
extends Object

Factory class for creating instance of StatsValues


Constructor Summary
StatsValuesFactory()
           
 
Method Summary
static StatsValues createStatsValues(SchemaField sf)
          Creates an instance of StatsValues which supports values from a field of the given FieldType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsValuesFactory

public StatsValuesFactory()
Method Detail

createStatsValues

public static StatsValues createStatsValues(SchemaField sf)
Creates an instance of StatsValues which supports values from a field of the given FieldType

Parameters:
sf - SchemaField for 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


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.