mirror of
https://github.com/apache/druid.git
synced 2025-02-16 06:55:07 +00:00
Make LookupExtractor abstract methods public, they have to work across classloaders.
This commit is contained in:
parent
cac4651da0
commit
b1e6c01762
@ -44,7 +44,7 @@ public abstract class LookupExtractor
|
||||
* @return The lookup, or null key cannot have the lookup applied to it and should be treated as missing.
|
||||
*/
|
||||
@Nullable
|
||||
abstract String apply(@NotNull String key);
|
||||
public abstract String apply(@NotNull String key);
|
||||
|
||||
/**
|
||||
* @param keys set of keys to apply lookup for each element
|
||||
@ -54,7 +54,7 @@ public abstract class LookupExtractor
|
||||
* User can override this method if there is a better way to perform bulk lookup
|
||||
*/
|
||||
|
||||
Map<String, String> applyAll(Iterable<String> keys)
|
||||
public Map<String, String> applyAll(Iterable<String> keys)
|
||||
{
|
||||
if (keys == null) {
|
||||
return Collections.emptyMap();
|
||||
@ -88,7 +88,7 @@ public abstract class LookupExtractor
|
||||
* User can override this method if there is a better way to perform bulk reverse lookup
|
||||
*/
|
||||
|
||||
Map<String, List<String>> unapplyAll(Iterable<String> values)
|
||||
public Map<String, List<String>> unapplyAll(Iterable<String> values)
|
||||
{
|
||||
if (values == null) {
|
||||
return Collections.emptyMap();
|
||||
@ -107,5 +107,5 @@ public abstract class LookupExtractor
|
||||
*/
|
||||
|
||||
@Nullable
|
||||
abstract byte[] getCacheKey();
|
||||
public abstract byte[] getCacheKey();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user