@NotThreadSafe public class ElasticWriter extends BaseOutputWriter
BINARY_PATH, BOOLEAN_AS_NUMBER, DEBUG, HOST, OUTPUT_FILE, PORT, TEMPLATE_FILE, TYPE_NAMES| Constructor and Description |
|---|
ElasticWriter(com.google.common.collect.ImmutableList<String> typeNames,
boolean booleanAsNumber,
String rootPrefix,
Boolean debugEnabled,
String connectionUrl,
Map<String,Object> settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
internalWrite(Server server,
Query query,
com.google.common.collect.ImmutableList<Result> results) |
void |
start() |
void |
stop() |
String |
toString() |
void |
validateSetup(Server server,
Query query) |
create, doWrite, firstNonNull, getConcatedTypeNameValues, getSettings, getTypeNames, isDebugEnabled, setSettingspublic ElasticWriter(com.google.common.collect.ImmutableList<String> typeNames, boolean booleanAsNumber, String rootPrefix, Boolean debugEnabled, String connectionUrl, Map<String,Object> settings) throws IOException
IOExceptionprotected void internalWrite(Server server, Query query, com.google.common.collect.ImmutableList<Result> results) throws Exception
internalWrite in class BaseOutputWriterExceptionpublic void start()
throws LifecycleException
start in interface OutputWriterstart in class BaseOutputWriterLifecycleExceptionpublic void stop()
throws LifecycleException
stop in interface OutputWriterstop in class BaseOutputWriterLifecycleExceptionpublic void validateSetup(Server server, Query query) throws ValidationException
ValidationExceptionCopyright © 2010-2015 JmxTrans team. All Rights Reserved.