org.apache.solr.analytics.expression

## Class Expression

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

- Direct Known Subclasses:
    BaseExpression, DualDelegateExpression, MultiDelegateExpression, SingleDelegateExpression

      public abstract class Expression
      extends Object

  Expressions map either zero, one, two or many inputs to a single value. They can be defined recursively to compute complex math.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Expression()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Comparator<Expression>` | `comparator(FieldFacetRequest.FacetSortDirection direction)`
    `abstract Comparable` | `getValue()`

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

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

- - ### Constructor Detail

    - #### Expression

          public Expression()

  - ### Method Detail

    - #### getValue

          public abstract Comparable getValue()

    - #### comparator

          public Comparator<Expression> comparator(FieldFacetRequest.FacetSortDirection direction)

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