public class Elasticsearch2WorkFactory extends Object implements ElasticsearchWorkFactory
| Constructor and Description |
|---|
Elasticsearch2WorkFactory(GsonProvider gsonProvider) |
public Elasticsearch2WorkFactory(GsonProvider gsonProvider)
public IndexWorkBuilder index(URLEncodedString indexName, URLEncodedString typeName, URLEncodedString id, com.google.gson.JsonObject document)
index in interface ElasticsearchWorkFactorypublic DeleteWorkBuilder delete(URLEncodedString indexName, URLEncodedString typeName, URLEncodedString id)
delete in interface ElasticsearchWorkFactorypublic DeleteByQueryWorkBuilder deleteByQuery(URLEncodedString indexName, com.google.gson.JsonObject payload)
deleteByQuery in interface ElasticsearchWorkFactorypublic FlushWorkBuilder flush()
flush in interface ElasticsearchWorkFactorypublic RefreshWorkBuilder refresh()
refresh in interface ElasticsearchWorkFactorypublic OptimizeWorkBuilder optimize()
optimize in interface ElasticsearchWorkFactorypublic BulkWorkBuilder bulk(List<BulkableElasticsearchWork<?>> bulkableWorks)
bulk in interface ElasticsearchWorkFactorypublic SearchWorkBuilder search(com.google.gson.JsonObject payload)
search in interface ElasticsearchWorkFactorypublic ExplainWorkBuilder explain(URLEncodedString indexName, URLEncodedString typeName, URLEncodedString id, com.google.gson.JsonObject payload)
explain in interface ElasticsearchWorkFactorypublic ScrollWorkBuilder scroll(String scrollId, String scrollTimeout)
scroll in interface ElasticsearchWorkFactorypublic ClearScrollWorkBuilder clearScroll(String scrollId)
clearScroll in interface ElasticsearchWorkFactorypublic CreateIndexWorkBuilder createIndex(URLEncodedString indexName)
createIndex in interface ElasticsearchWorkFactorypublic DropIndexWorkBuilder dropIndex(URLEncodedString indexName)
dropIndex in interface ElasticsearchWorkFactorypublic OpenIndexWorkBuilder openIndex(URLEncodedString indexName)
openIndex in interface ElasticsearchWorkFactorypublic CloseIndexWorkBuilder closeIndex(URLEncodedString indexName)
closeIndex in interface ElasticsearchWorkFactorypublic IndexExistsWorkBuilder indexExists(URLEncodedString indexName)
indexExists in interface ElasticsearchWorkFactorypublic GetIndexSettingsWorkBuilder getIndexSettings(URLEncodedString indexName)
getIndexSettings in interface ElasticsearchWorkFactorypublic PutIndexSettingsWorkBuilder putIndexSettings(URLEncodedString indexName, IndexSettings settings)
putIndexSettings in interface ElasticsearchWorkFactorypublic GetIndexTypeMappingsWorkBuilder getIndexTypeMappings(URLEncodedString indexName)
getIndexTypeMappings in interface ElasticsearchWorkFactorypublic PutIndexMappingWorkBuilder putIndexTypeMapping(URLEncodedString indexName, URLEncodedString typeName, TypeMapping mapping)
putIndexTypeMapping in interface ElasticsearchWorkFactorypublic WaitForIndexStatusWorkBuilder waitForIndexStatusWork(URLEncodedString indexName, ElasticsearchIndexStatus requiredStatus, String timeout)
waitForIndexStatusWork in interface ElasticsearchWorkFactoryCopyright © 2006–2017 Hibernate. All rights reserved.