|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.solr.handler.dataimport.VariableResolver
public abstract class VariableResolver
This class is more or less like a Map. But has more intelligence to resolve namespaces. Namespaces are delimited with '.' (period)
Refer to http://wiki.apache.org/solr/DataImportHandler for more details.
This API is experimental and may change in the future.
| Constructor Summary | |
|---|---|
VariableResolver()
|
|
| Method Summary | |
|---|---|
abstract String |
replaceTokens(String template)
Given a String with place holders, replace them with the value tokens. |
abstract Object |
resolve(String name)
Resolves a given value with a name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariableResolver()
| Method Detail |
|---|
public abstract Object resolve(String name)
name - the String to be resolved
public abstract String replaceTokens(String template)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||