當前位置: 首頁>>代碼示例>>Java>>正文


Java ElasticsearchClient類代碼示例

本文整理匯總了Java中org.elasticsearch.client.ElasticsearchClient的典型用法代碼示例。如果您正苦於以下問題:Java ElasticsearchClient類的具體用法?Java ElasticsearchClient怎麽用?Java ElasticsearchClient使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ElasticsearchClient類屬於org.elasticsearch.client包,在下文中一共展示了ElasticsearchClient類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public SearchTemplateRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new SearchTemplateRequestBuilder(client, this);
}
 
開發者ID:justor,項目名稱:elasticsearch_my,代碼行數:5,代碼來源:SearchTemplateAction.java

示例2: DeleteSnapshotRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
/**
 * Constructs delete snapshot request builder with specified repository and snapshot names
 */
public DeleteSnapshotRequestBuilder(ElasticsearchClient client, DeleteSnapshotAction action, String repository, String snapshot) {
    super(client, action, new DeleteSnapshotRequest(repository, snapshot));
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:7,代碼來源:DeleteSnapshotRequestBuilder.java

示例3: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public AddNodeRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new AddNodeRequestBuilder(client, this);
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:5,代碼來源:AddNodeAction.java

示例4: PutWarmerRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
/**
 * Creates a new {@link PutWarmerRequestBuilder} with a given name.
 */
public PutWarmerRequestBuilder(ElasticsearchClient client, PutWarmerAction action, String name) {
    super(client, action, new PutWarmerRequest().name(name));
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:7,代碼來源:PutWarmerRequestBuilder.java

示例5: SearchTemplateRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
SearchTemplateRequestBuilder(ElasticsearchClient client, SearchTemplateAction action) {
    super(client, action, new SearchTemplateRequest());
}
 
開發者ID:justor,項目名稱:elasticsearch_my,代碼行數:4,代碼來源:SearchTemplateRequestBuilder.java

示例6: IndexRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
public IndexRequestBuilder(ElasticsearchClient client, IndexAction action) {
    super(client, action, new IndexRequest());
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:4,代碼來源:IndexRequestBuilder.java

示例7: ClusterRerouteRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
public ClusterRerouteRequestBuilder(ElasticsearchClient client, ClusterRerouteAction action) {
    super(client, action, new ClusterRerouteRequest());
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:4,代碼來源:ClusterRerouteRequestBuilder.java

示例8: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public PendingClusterTasksRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new PendingClusterTasksRequestBuilder(client, this);
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:5,代碼來源:PendingClusterTasksAction.java

示例9: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public RestoreSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new RestoreSnapshotRequestBuilder(client, this);
}
 
開發者ID:justor,項目名稱:elasticsearch_my,代碼行數:5,代碼來源:RestoreSnapshotAction.java

示例10: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public UpdateByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new UpdateByQueryRequestBuilder(client, this);
}
 
開發者ID:justor,項目名稱:elasticsearch_my,代碼行數:5,代碼來源:UpdateByQueryAction.java

示例11: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new IndexRequestBuilder(client, this);
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:5,代碼來源:IndexAction.java

示例12: SyncedFlushRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
public SyncedFlushRequestBuilder(ElasticsearchClient client, SyncedFlushAction action) {
    super(client, action, new SyncedFlushRequest());
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:4,代碼來源:SyncedFlushRequestBuilder.java

示例13: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public DeleteByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new DeleteByQueryRequestBuilder(client, this);
}
 
開發者ID:justor,項目名稱:elasticsearch_my,代碼行數:5,代碼來源:DeleteByQueryAction.java

示例14: BaseAliasesRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
public BaseAliasesRequestBuilder(ElasticsearchClient client, Action<GetAliasesRequest, Response, Builder> action, String... aliases) {
    super(client, action, new GetAliasesRequest(aliases));
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:4,代碼來源:BaseAliasesRequestBuilder.java

示例15: newRequestBuilder

import org.elasticsearch.client.ElasticsearchClient; //導入依賴的package包/類
@Override
public ClusterSearchShardsRequestBuilder newRequestBuilder(ElasticsearchClient client) {
    return new ClusterSearchShardsRequestBuilder(client, this);
}
 
開發者ID:baidu,項目名稱:Elasticsearch,代碼行數:5,代碼來源:ClusterSearchShardsAction.java


注:本文中的org.elasticsearch.client.ElasticsearchClient類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。