com.netgrif.application.engine.elastic.service.interfaces.IElasticIndexService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.elastic.service.interfaces;
import org.springframework.data.elasticsearch.core.SearchHits;
import org.springframework.data.elasticsearch.core.SearchScrollHits;
import org.springframework.data.elasticsearch.core.query.Query;
import java.util.List;
public interface IElasticIndexService {
boolean indexExists(String indexName);
boolean createIndex(Class> clazz, String... placeholders);
boolean deleteIndex(Class> clazz, String... placeholders);
boolean closeIndex(Class> clazz, String... placeholders);
boolean openIndex(Class> clazz, String... placeholders);
boolean putMapping(Class> clazz, String... placeholders);
boolean putTemplate(String name, String source);
String index(Class clazz, T source, String... placeholders);
boolean bulkIndex(List> list, Class> clazz, String... placeholders);
SearchScrollHits> scrollFirst(Query query, Class> clazz, String... placeholders);
SearchScrollHits> scroll(String scrollId, Class> clazz, String... placeholders);
SearchHits> search(Query query, Class> clazz, String... placeholders);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy