Package com.github.euler.elasticsearch
Class AbstractElasticsearchTaskConfigConverter
- java.lang.Object
-
- com.github.euler.configuration.AbstractTaskConfigConverter
-
- com.github.euler.elasticsearch.AbstractElasticsearchTaskConfigConverter
-
- All Implemented Interfaces:
TaskConfigConverter
- Direct Known Subclasses:
ElasticsearchFragmentTaskConfigConverter,ElasticsearchMetadataTaskConfigConverter
public abstract class AbstractElasticsearchTaskConfigConverter extends AbstractTaskConfigConverter
-
-
Constructor Summary
Constructors Constructor Description AbstractElasticsearchTaskConfigConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.elasticsearch.client.RestHighLevelClientgetClient(com.typesafe.config.Config config, ConfigContext ctx, TypesConfigConverter typeConfigConverter)protected com.typesafe.config.ConfiggetDefaultConfig()protected FlushConfiggetFlushConfig(com.typesafe.config.Config config)protected StringgetIndex(com.typesafe.config.Config config)-
Methods inherited from class com.github.euler.configuration.AbstractTaskConfigConverter
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.euler.configuration.TaskConfigConverter
convert, getDescription, type
-
-
-
-
Method Detail
-
getFlushConfig
protected FlushConfig getFlushConfig(com.typesafe.config.Config config)
-
getClient
protected org.elasticsearch.client.RestHighLevelClient getClient(com.typesafe.config.Config config, ConfigContext ctx, TypesConfigConverter typeConfigConverter)
-
getIndex
protected String getIndex(com.typesafe.config.Config config)
-
getDefaultConfig
protected com.typesafe.config.Config getDefaultConfig()
-
-