当前位置: 首页>>代码示例>>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;未经允许,请勿转载。