Class VitamElasticsearchRepository


  • public class VitamElasticsearchRepository
    extends java.lang.Object
    Implementation for Elasticsearch
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ID  
      static java.lang.String IDENTIFIER
      Identifier
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(java.util.List<java.lang.String> ids, int tenant)  
      java.util.Optional<org.bson.Document> findByIdentifier​(java.lang.String identifier)  
      java.util.Optional<org.bson.Document> findByIdentifierAndTenant​(java.lang.String identifier, java.lang.Integer tenant)  
      java.util.Optional<org.bson.Document> getByID​(java.lang.String id, java.lang.Integer tenant)  
      java.util.Optional<org.bson.Document> getDocumentById​(java.lang.String id)  
      long purge()  
      long purge​(java.lang.Integer tenant)  
      void remove​(java.lang.String id, java.lang.Integer tenant)  
      void save​(ElasticsearchCollections elasticsearchCollections, java.util.List<org.bson.Document> documents)  
      void save​(java.util.List<org.bson.Document> documents)  
      VitamRepositoryStatus save​(org.bson.Document document)  
      org.elasticsearch.action.search.SearchResponse search​(java.lang.String index, org.elasticsearch.index.query.QueryBuilder qb)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait