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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Evaluator
public Evaluator()
evaluate
public abstract String evaluate(String expression,
Context context)
- Return a String after processing an expression and a
VariableResolver
- Parameters:
expression
- string to be evaluatedcontext
- instance
- Returns:
- the value of the given expression evaluated using the resolver
- See Also:
VariableResolver
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.