public class DefaultElasticsearchSchemaDropper extends Object implements ElasticsearchSchemaDropper, Startable, Stoppable
ElasticsearchSchemaDropper implementation.| Constructor and Description |
|---|
DefaultElasticsearchSchemaDropper() |
| Modifier and Type | Method and Description |
|---|---|
void |
drop(String indexName,
ExecutionOptions executionOptions)
Drops an index, throwing an exception if dropping fails.
|
void |
dropIfExisting(String indexName,
ExecutionOptions executionOptions)
Drops an index, throwing an exception if dropping fails.
|
void |
start(Properties properties,
BuildContext context) |
void |
stop() |
public void start(Properties properties, BuildContext context)
public void drop(String indexName, ExecutionOptions executionOptions)
ElasticsearchSchemaDropperdrop in interface ElasticsearchSchemaDropperindexName - The name of the index to drop.executionOptions - The execution options, giving more context information.public void dropIfExisting(String indexName, ExecutionOptions executionOptions)
ElasticsearchSchemaDropperThis method will skip operations silently if the index does not exist.
dropIfExisting in interface ElasticsearchSchemaDropperindexName - The name of the index to drop.executionOptions - The execution options, giving more context information.Copyright © 2006–2017 Hibernate. All rights reserved.