org.elasticsearch.client.support
Class AbstractIndicesAdminClient

java.lang.Object
  extended by org.elasticsearch.client.support.AbstractIndicesAdminClient
All Implemented Interfaces:
IndicesAdminClient, InternalIndicesAdminClient
Direct Known Subclasses:
InternalTransportIndicesAdminClient, NodeIndicesAdminClient

public abstract class AbstractIndicesAdminClient
extends java.lang.Object
implements InternalIndicesAdminClient


Constructor Summary
AbstractIndicesAdminClient()
           
 
Method Summary
 IndicesAliasesRequestBuilder prepareAliases()
          Allows to add/remove aliases from indices.
 ClearIndicesCacheRequestBuilder prepareClearCache(java.lang.String... indices)
          Clear indices cache.
 CloseIndexRequestBuilder prepareClose(java.lang.String index)
          Closes an index based on the index name.
 CreateIndexRequestBuilder prepareCreate(java.lang.String index)
          Creates an index using an explicit request allowing to specify the settings of the index.
 DeleteIndexRequestBuilder prepareDelete(java.lang.String index)
          Deletes an index based on the index name.
 DeleteMappingRequestBuilder prepareDeleteMapping(java.lang.String... indices)
          Deletes mapping definition for a type into one or more indices.
 FlushRequestBuilder prepareFlush(java.lang.String... indices)
          Explicitly flush one or more indices (releasing memory from the node).
 GatewaySnapshotRequestBuilder prepareGatewaySnapshot(java.lang.String... indices)
          Explicitly perform gateway snapshot for one or more indices.
 OpenIndexRequestBuilder prepareOpen(java.lang.String index)
          Opens an index based on the index name.
 OptimizeRequestBuilder prepareOptimize(java.lang.String... indices)
          Explicitly optimize one or more indices into a the number of segments.
 PutMappingRequestBuilder preparePutMapping(java.lang.String... indices)
          Add mapping definition for a type into one or more indices.
 RefreshRequestBuilder prepareRefresh(java.lang.String... indices)
          Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).
 IndicesStatusRequestBuilder prepareStatus(java.lang.String... indices)
          The status of one or more indices.
 UpdateSettingsRequestBuilder prepareUpdateSettings(java.lang.String... indices)
          Update indices settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.client.internal.InternalIndicesAdminClient
threadPool
 
Methods inherited from interface org.elasticsearch.client.IndicesAdminClient
aliases, aliases, clearCache, clearCache, close, close, create, create, delete, delete, deleteMapping, deleteMapping, flush, flush, gatewaySnapshot, gatewaySnapshot, open, open, optimize, optimize, putMapping, putMapping, refresh, refresh, status, status, updateSettings, updateSettings
 

Constructor Detail

AbstractIndicesAdminClient

public AbstractIndicesAdminClient()
Method Detail

prepareAliases

public IndicesAliasesRequestBuilder prepareAliases()
Description copied from interface: IndicesAdminClient
Allows to add/remove aliases from indices.

Specified by:
prepareAliases in interface IndicesAdminClient

prepareClearCache

public ClearIndicesCacheRequestBuilder prepareClearCache(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Clear indices cache.

Specified by:
prepareClearCache in interface IndicesAdminClient

prepareCreate

public CreateIndexRequestBuilder prepareCreate(java.lang.String index)
Description copied from interface: IndicesAdminClient
Creates an index using an explicit request allowing to specify the settings of the index.

Specified by:
prepareCreate in interface IndicesAdminClient
Parameters:
index - The index name to create

prepareDelete

public DeleteIndexRequestBuilder prepareDelete(java.lang.String index)
Description copied from interface: IndicesAdminClient
Deletes an index based on the index name.

Specified by:
prepareDelete in interface IndicesAdminClient
Parameters:
index - The index name to delete

prepareClose

public CloseIndexRequestBuilder prepareClose(java.lang.String index)
Description copied from interface: IndicesAdminClient
Closes an index based on the index name.

Specified by:
prepareClose in interface IndicesAdminClient
Parameters:
index - The index name to close

prepareOpen

public OpenIndexRequestBuilder prepareOpen(java.lang.String index)
Description copied from interface: IndicesAdminClient
Opens an index based on the index name.

Specified by:
prepareOpen in interface IndicesAdminClient
Parameters:
index - The index name to close

prepareFlush

public FlushRequestBuilder prepareFlush(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Explicitly flush one or more indices (releasing memory from the node).

Specified by:
prepareFlush in interface IndicesAdminClient

prepareGatewaySnapshot

public GatewaySnapshotRequestBuilder prepareGatewaySnapshot(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Explicitly perform gateway snapshot for one or more indices.

Specified by:
prepareGatewaySnapshot in interface IndicesAdminClient

preparePutMapping

public PutMappingRequestBuilder preparePutMapping(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Add mapping definition for a type into one or more indices.

Specified by:
preparePutMapping in interface IndicesAdminClient

prepareDeleteMapping

public DeleteMappingRequestBuilder prepareDeleteMapping(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Deletes mapping definition for a type into one or more indices.

Specified by:
prepareDeleteMapping in interface IndicesAdminClient

prepareOptimize

public OptimizeRequestBuilder prepareOptimize(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Explicitly optimize one or more indices into a the number of segments.

Specified by:
prepareOptimize in interface IndicesAdminClient

prepareRefresh

public RefreshRequestBuilder prepareRefresh(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).

Specified by:
prepareRefresh in interface IndicesAdminClient

prepareStatus

public IndicesStatusRequestBuilder prepareStatus(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
The status of one or more indices.

Specified by:
prepareStatus in interface IndicesAdminClient

prepareUpdateSettings

public UpdateSettingsRequestBuilder prepareUpdateSettings(java.lang.String... indices)
Description copied from interface: IndicesAdminClient
Update indices settings.

Specified by:
prepareUpdateSettings in interface IndicesAdminClient