E - The ErrorHandlers being created.public abstract class HandlerLoader<E extends ErrorHandler> extends Object implements org.elasticsearch.hadoop.serialization.SettingsAware
| Modifier and Type | Class and Description |
|---|---|
static class |
HandlerLoader.NamedHandlers |
| Constructor and Description |
|---|
HandlerLoader(Class<E> expected) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getHandlerPropertyName() |
protected abstract String |
getHandlersPropertyName() |
protected abstract E |
loadBuiltInHandler(HandlerLoader.NamedHandlers handlerName)
Builds the integration specific built-in handler for the job described by the handler name.
|
List<E> |
loadHandlers() |
void |
setSettings(Settings settings) |
public void setSettings(Settings settings)
setSettings in interface org.elasticsearch.hadoop.serialization.SettingsAwareprotected abstract String getHandlersPropertyName()
protected abstract String getHandlerPropertyName()
protected abstract E loadBuiltInHandler(HandlerLoader.NamedHandlers handlerName)
handlerName - The built in handler implementation that one should provide