本文整理匯總了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);
}