本文整理汇总了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);
}
示例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));
}
示例3: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public AddNodeRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new AddNodeRequestBuilder(client, this);
}
示例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));
}
示例5: SearchTemplateRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
SearchTemplateRequestBuilder(ElasticsearchClient client, SearchTemplateAction action) {
super(client, action, new SearchTemplateRequest());
}
示例6: IndexRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
public IndexRequestBuilder(ElasticsearchClient client, IndexAction action) {
super(client, action, new IndexRequest());
}
示例7: ClusterRerouteRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
public ClusterRerouteRequestBuilder(ElasticsearchClient client, ClusterRerouteAction action) {
super(client, action, new ClusterRerouteRequest());
}
示例8: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public PendingClusterTasksRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new PendingClusterTasksRequestBuilder(client, this);
}
示例9: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public RestoreSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new RestoreSnapshotRequestBuilder(client, this);
}
示例10: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public UpdateByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new UpdateByQueryRequestBuilder(client, this);
}
示例11: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new IndexRequestBuilder(client, this);
}
示例12: SyncedFlushRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
public SyncedFlushRequestBuilder(ElasticsearchClient client, SyncedFlushAction action) {
super(client, action, new SyncedFlushRequest());
}
示例13: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public DeleteByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new DeleteByQueryRequestBuilder(client, this);
}
示例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));
}
示例15: newRequestBuilder
import org.elasticsearch.client.ElasticsearchClient; //导入依赖的package包/类
@Override
public ClusterSearchShardsRequestBuilder newRequestBuilder(ElasticsearchClient client) {
return new ClusterSearchShardsRequestBuilder(client, this);
}