@Override public SearchTemplateRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new SearchTemplateRequestBuilder(client, this); }
/** * 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)); }
@Override public AddNodeRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new AddNodeRequestBuilder(client, this); }
/** * Creates a new {@link PutWarmerRequestBuilder} with a given name. */ public PutWarmerRequestBuilder(ElasticsearchClient client, PutWarmerAction action, String name) { super(client, action, new PutWarmerRequest().name(name)); }
SearchTemplateRequestBuilder(ElasticsearchClient client, SearchTemplateAction action) { super(client, action, new SearchTemplateRequest()); }
public IndexRequestBuilder(ElasticsearchClient client, IndexAction action) { super(client, action, new IndexRequest()); }
public ClusterRerouteRequestBuilder(ElasticsearchClient client, ClusterRerouteAction action) { super(client, action, new ClusterRerouteRequest()); }
@Override public PendingClusterTasksRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new PendingClusterTasksRequestBuilder(client, this); }
@Override public RestoreSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new RestoreSnapshotRequestBuilder(client, this); }
@Override public UpdateByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new UpdateByQueryRequestBuilder(client, this); }
@Override public IndexRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new IndexRequestBuilder(client, this); }
public SyncedFlushRequestBuilder(ElasticsearchClient client, SyncedFlushAction action) { super(client, action, new SyncedFlushRequest()); }
@Override public DeleteByQueryRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new DeleteByQueryRequestBuilder(client, this); }
public BaseAliasesRequestBuilder(ElasticsearchClient client, Action<GetAliasesRequest, Response, Builder> action, String... aliases) { super(client, action, new GetAliasesRequest(aliases)); }
@Override public ClusterSearchShardsRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new ClusterSearchShardsRequestBuilder(client, this); }
public NodesInfoRequestBuilder(ElasticsearchClient client, NodesInfoAction action) { super(client, action, new NodesInfoRequest()); }
/** * Constructs unregister repository request builder */ public DeleteRepositoryRequestBuilder(ElasticsearchClient client, DeleteRepositoryAction action) { super(client, action, new DeleteRepositoryRequest()); }
@Override public PutWarmerRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new PutWarmerRequestBuilder(client, this); }
@Override public UpgradeStatusRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new UpgradeStatusRequestBuilder(client, this); }
@Override public NoopSearchRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new NoopSearchRequestBuilder(client, this); }
@Override public UpgradeSettingsRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new UpgradeSettingsRequestBuilder(client, this); }
@Override public CancelTasksRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new CancelTasksRequestBuilder(client, this); }
Admin(ElasticsearchClient client) { this.clusterAdmin = new ClusterAdmin(client); this.indicesAdmin = new IndicesAdmin(client); }
@Override public ClusterRerouteRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new ClusterRerouteRequestBuilder(client, this); }
@Override public MultiGetRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new MultiGetRequestBuilder(client, this); }
public TermVectorsRequestBuilder(ElasticsearchClient client, TermVectorsAction action) { super(client, action, new TermVectorsRequest()); }
@Override public ListTasksRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new ListTasksRequestBuilder(client, this); }
@Override public UpdateSettingsRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new UpdateSettingsRequestBuilder(client, this); }
public ClusterStatsRequestBuilder(ElasticsearchClient client, ClusterStatsAction action) { super(client, action, new ClusterStatsRequest()); }
/** * Constructs a new create snapshot request builder with specified repository and snapshot names */ public CreateSnapshotRequestBuilder(ElasticsearchClient client, CreateSnapshotAction action, String repository, String snapshot) { super(client, action, new CreateSnapshotRequest(repository, snapshot)); }
@Override public AliasesExistRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new AliasesExistRequestBuilder(client, this); }
/** * Constructs the new snapshot status request with specified repository */ public SnapshotsStatusRequestBuilder(ElasticsearchClient client, SnapshotsStatusAction action, String repository) { super(client, action, new SnapshotsStatusRequest(repository)); }
protected DropUserRequestBuilder( ElasticsearchClient client, Action<DropUserRequest, DropUserResponse, DropUserRequestBuilder> action) { super(client, action, new DropUserRequest("")); }
/** * Constructs the new get snapshot request with specified repository */ public GetSnapshotsRequestBuilder(ElasticsearchClient client, GetSnapshotsAction action, String repository) { super(client, action, new GetSnapshotsRequest(repository)); }
@Override public SnapshotsStatusRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new SnapshotsStatusRequestBuilder(client, this); }
protected MasterNodeReadOperationRequestBuilder(ElasticsearchClient client, Action<Request, Response, RequestBuilder> action, Request request) { super(client, action, request); }
@Override public GetAliasesRequestBuilder newRequestBuilder(ElasticsearchClient client) { return new GetAliasesRequestBuilder(client, this); }