public class NamespacedExtractor extends Object implements LookupExtractor
Constructor and Description |
---|
NamespacedExtractor(com.google.common.base.Function<String,com.google.common.base.Function<String,String>> namespaces,
String namespace) |
Modifier and Type | Method and Description |
---|---|
String |
apply(String value)
Apply a particular lookup methodology to the input string
|
byte[] |
getCacheKey()
Create a cache key for use in results caching
|
String |
getNamespace() |
public String getNamespace()
public byte[] getCacheKey()
LookupExtractor
getCacheKey
in interface LookupExtractor
public String apply(String value)
LookupExtractor
apply
in interface LookupExtractor
value
- The value to apply the lookup to. May not be nullCopyright © 2011–2015. All rights reserved.