org.springframework.data.elasticsearch.repository.support
Class SimpleElasticsearchRepository<T>
java.lang.Object
org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository<T,String>
org.springframework.data.elasticsearch.repository.support.SimpleElasticsearchRepository<T>
- All Implemented Interfaces:
- ElasticsearchCrudRepository<T,String>, ElasticsearchRepository<T,String>, CrudRepository<T,String>, PagingAndSortingRepository<T,String>, Repository<T,String>
public class SimpleElasticsearchRepository<T>
- extends AbstractElasticsearchRepository<T,String>
Elasticsearch specific repository implementation. Likely to be used as target within
ElasticsearchRepositoryFactory
- Author:
- Rizwan Idrees, Mohsin Husen, Ryan Henszey
| Methods inherited from class org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository |
count, delete, delete, delete, deleteAll, exists, extractIdFromBean, findAll, findAll, findAll, findAll, findOne, getEntityClass, index, save, save, save, search, search, search, searchSimilar, setElasticsearchOperations, setEntityClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleElasticsearchRepository
public SimpleElasticsearchRepository()
SimpleElasticsearchRepository
public SimpleElasticsearchRepository(ElasticsearchEntityInformation<T,String> metadata,
ElasticsearchOperations elasticsearchOperations)
SimpleElasticsearchRepository
public SimpleElasticsearchRepository(ElasticsearchOperations elasticsearchOperations)
stringIdRepresentation
protected String stringIdRepresentation(String id)
- Specified by:
stringIdRepresentation in class AbstractElasticsearchRepository<T,String>
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.