public class DefaultElasticsearchSchemaDropper extends Object implements ElasticsearchSchemaDropper
ElasticsearchSchemaDropper implementation.| Constructor and Description |
|---|
DefaultElasticsearchSchemaDropper(ElasticsearchSchemaAccessor schemaAccessor) |
| 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.
|
public DefaultElasticsearchSchemaDropper(ElasticsearchSchemaAccessor schemaAccessor)
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.