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

    Constructors
    Constructor and Description
    `StatsValuesFactory()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static StatsValues` | `createStatsValues(StatsField statsField)` Creates an instance of StatsValues which supports values from the specified `StatsField`

    - ### 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(StatsField statsField)

      Creates an instance of StatsValues which supports values from the specified `StatsField`
      Parameters:
        `statsField` - `StatsField` whose statistics will be created by the resulting `StatsValues`
      Returns:
        Instance of `StatsValues` that will create statistics from values from the specified `StatsField`

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