public interface OutputWriter
Modifier and Type | Method and Description |
---|---|
void |
doWrite(Query query) |
java.util.Map<java.lang.String,java.lang.Object> |
getSettings()
Settings allow you to configure your Writers with whatever they might
need.
|
void |
setObjectPoolMap(java.util.Map<java.lang.String,org.apache.commons.pool.KeyedObjectPool> poolMap)
Some writers, like GraphiteWriter will use this for object pooling.
|
void |
setSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
Settings allow you to configure your Writers with whatever they might
need.
|
void |
start() |
void |
stop() |
void |
validateSetup(Query query)
This is run when the object is instantiated.
|
void start() throws LifecycleException
LifecycleException
void stop() throws LifecycleException
LifecycleException
void doWrite(Query query) throws java.lang.Exception
java.lang.Exception
java.util.Map<java.lang.String,java.lang.Object> getSettings()
void setSettings(java.util.Map<java.lang.String,java.lang.Object> settings)
void validateSetup(Query query) throws ValidationException
ValidationException
void setObjectPoolMap(java.util.Map<java.lang.String,org.apache.commons.pool.KeyedObjectPool> poolMap)
Copyright © 2012 Jon Stevens and a gang of pencils. All Rights Reserved. Build version: 20121205-163415-ab6cfd36e3