org.apache.solr.analytics.expression

## Class BaseExpression

- java.lang.Object
- - org.apache.solr.analytics.expression.Expression
  - - org.apache.solr.analytics.expression.BaseExpression

-     public class BaseExpression
      extends Expression

  `BaseExpression` returns the value returned by the `StatsCollector` for the specified stat.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `stat`
    `protected StatsCollector` | `statsCollector`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseExpression(StatsCollector statsCollector, String stat)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Comparable` | `getValue()`

    - ### Methods inherited from class org.apache.solr.analytics.expression.Expression

      `comparator`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### statsCollector

          protected final StatsCollector statsCollector

    - #### stat

          protected final String stat

  - ### Constructor Detail

    - #### BaseExpression

          public BaseExpression(StatsCollector statsCollector,
                                String stat)

  - ### Method Detail

    - #### getValue

          public Comparable getValue()

      Specified by:
        `getValue` in class `Expression`

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