public abstract class BaseIngestTransportClient extends BaseTransportClient implements Ingest
client, configHelper
Constructor and Description |
---|
BaseIngestTransportClient() |
Modifier and Type | Method and Description |
---|---|
BaseIngestTransportClient |
deleteIndex(String index)
Delete index
|
BaseIngestTransportClient |
deleteMapping(String index,
String type) |
Ingest |
newClient(org.elasticsearch.common.settings.Settings settings) |
BaseIngestTransportClient |
newIndex(String index)
Create a new index
|
BaseIngestTransportClient |
newIndex(String index,
org.elasticsearch.common.settings.Settings settings,
Map<String,String> mappings) |
BaseIngestTransportClient |
newIndex(String index,
String type,
InputStream settings,
InputStream mappings) |
BaseIngestTransportClient |
putMapping(String index) |
BaseIngestTransportClient |
replica(int replica)
The number of replica for index creation
|
BaseIngestTransportClient |
shards(int shards)
The number of shards for index creation
|
BaseIngestTransportClient |
waitForCluster(org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus status,
org.elasticsearch.common.unit.TimeValue timeValue)
Wait for cluster being healthy.
|
addSetting, addSetting, addSetting, client, connect, createClient, findSettings, getConnectedNodes, getMappings, getSettings, getSettingsBuilder, isShutdown, mapping, mapping, resetSettings, setSettings, setting, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSetting, addSetting, addSetting, bulkDelete, bulkIndex, client, delete, flush, flushIngest, flushIngestInterval, getConnectedNodes, getMappings, getMetric, getSettings, getSettingsBuilder, getThrowable, hasThrowable, index, isShutdown, mapping, mapping, maxActionsPerBulkRequest, maxConcurrentBulkRequests, maxRequestWait, maxVolumePerBulkRequest, newClient, newClient, refresh, resume, setSettings, setting, shutdown, startBulk, stopBulk, suspend, updateReplicaLevel, waitForRecovery, waitForResponses
public BaseIngestTransportClient()
public BaseIngestTransportClient shards(int shards)
Ingest
public BaseIngestTransportClient replica(int replica)
Ingest
public BaseIngestTransportClient newIndex(String index)
Ingest
public BaseIngestTransportClient newIndex(String index, String type, InputStream settings, InputStream mappings) throws IOException
newIndex
in interface Ingest
IOException
public BaseIngestTransportClient newIndex(String index, org.elasticsearch.common.settings.Settings settings, Map<String,String> mappings)
public BaseIngestTransportClient deleteIndex(String index)
Ingest
deleteIndex
in interface Ingest
public BaseIngestTransportClient putMapping(String index)
putMapping
in interface Ingest
public BaseIngestTransportClient deleteMapping(String index, String type)
deleteMapping
in interface Ingest
public BaseIngestTransportClient waitForCluster(org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus status, org.elasticsearch.common.unit.TimeValue timeValue) throws IOException
Ingest
waitForCluster
in interface Ingest
IOException
elasticsearch-river-jdbc