StatsValuesFactory (Solr 3.6.2 API)
Keywords: org.apache.solr.handler.component.StatsValuesFactory class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Constructor Summary
`StatsValuesFactory()`

Method Summary
`static StatsValues` | `createStatsValues(FieldType fieldType)` 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(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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD