Evaluator (Solr 3.6.2 API)
Keywords: org.apache.solr.handler.dataimport.Evaluator 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.dataimport
Class Evaluator

    java.lang.Object
      org.apache.solr.handler.dataimport.Evaluator

    public abstract class Evaluator

extends Object

Pluggable functions for resolving variables

Implementations of this abstract class must provide a public no-arg constructor.

Refer to http://wiki.apache.org/solr/DataImportHandler for more details.

This API is experimental and may change in the future.

Since:
  solr 1.3
Version:
  $Id: Evaluator.java 1044562 2010-12-11 02:24:12Z koji $

Constructor Summary
`Evaluator()`

Method Summary
`abstract String` | `evaluate(String expression, Context context)` Return a String after processing an expression and a `VariableResolver`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Evaluator

    public Evaluator()

Method Detail

### evaluate

    public abstract String evaluate(String expression,
                                    Context context)

  Return a String after processing an expression and a `VariableResolver`

  Parameters:
    `expression` - string to be evaluated
    `context` - instance
  Returns:
    the value of the given expression evaluated using the resolver
  See Also:
    `VariableResolver`

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