public interface OutputWriter
| Modifier and Type | Method and Description |
|---|---|
void |
doWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
Map<String,Object> |
getSettings()
Settings allow you to configure your Writers with whatever they might
need.
|
void |
setSettings(Map<String,Object> settings)
Settings allow you to configure your Writers with whatever they might
need.
|
void |
start() |
void |
stop() |
void |
validateSetup(Server server,
Query query)
This is run when the object is instantiated.
|
void start()
throws LifecycleException
LifecycleExceptionvoid stop()
throws LifecycleException
LifecycleExceptionvoid doWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
ExceptionMap<String,Object> getSettings()
void setSettings(Map<String,Object> settings)
void validateSetup(Server server, Query query) throws ValidationException
ValidationExceptionCopyright © 2015. All Rights Reserved.