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, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSetting, 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, waitForResponsespublic BaseIngestTransportClient()
public BaseIngestTransportClient shards(int shards)
Ingestpublic BaseIngestTransportClient replica(int replica)
Ingestpublic BaseIngestTransportClient newIndex(String index)
Ingestpublic BaseIngestTransportClient newIndex(String index, String type, InputStream settings, InputStream mappings) throws IOException
newIndex in interface IngestIOExceptionpublic BaseIngestTransportClient newIndex(String index, org.elasticsearch.common.settings.Settings settings, Map<String,String> mappings)
public BaseIngestTransportClient deleteIndex(String index)
IngestdeleteIndex in interface Ingestpublic BaseIngestTransportClient putMapping(String index)
putMapping in interface Ingestpublic BaseIngestTransportClient deleteMapping(String index, String type)
deleteMapping in interface Ingestpublic BaseIngestTransportClient waitForCluster(org.elasticsearch.action.admin.cluster.health.ClusterHealthStatus status, org.elasticsearch.common.unit.TimeValue timeValue) throws IOException
IngestwaitForCluster in interface IngestIOExceptionelasticsearch-river-jdbc