mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-23 20:42:11 +00:00
DATAES-738 - Removing one save method as it does not fit the naming scheme.
This commit is contained in:
parent
9c64dd9c39
commit
77f43ce64c
@ -146,11 +146,6 @@ public abstract class AbstractElasticsearchTemplate implements ElasticsearchOper
|
||||
return save(Arrays.asList(entities));
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> Iterable<T> save(IndexCoordinates index, T... entities) {
|
||||
return save(Arrays.asList(entities), index);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void delete(Query query, Class<?> clazz, IndexCoordinates index) {
|
||||
|
||||
|
@ -79,20 +79,10 @@ public interface DocumentOperations {
|
||||
*
|
||||
* @param entities must not be {@literal null}
|
||||
* @param <T> the entity type
|
||||
* @return the saved entites as Iterable
|
||||
* @return the saved entities as Iterable
|
||||
*/
|
||||
<T> Iterable<T> save(T... entities);
|
||||
|
||||
/**
|
||||
* saves the given entities to the given index.
|
||||
*
|
||||
* @param index the idnex to save the entities in, must not be {@literal null}
|
||||
* @param entities must not be {@literal null}
|
||||
* @param <T> the entity type
|
||||
* @return the saved entites as Iterable
|
||||
*/
|
||||
<T> Iterable<T> save(IndexCoordinates index, T... entities);
|
||||
|
||||
/**
|
||||
* Index an object. Will do save or update.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user