Package org.elasticsearch.client
Class RollupClient
java.lang.Object
org.elasticsearch.client.RollupClient
Deprecated.
The High Level Rest Client is deprecated in favor of the
Elasticsearch Java API Client
A wrapper for the
RestHighLevelClient
that provides methods for
accessing the Elastic Rollup-related methods
See the X-Pack Rollup APIs on elastic.co for more information.
-
Method Summary
Modifier and TypeMethodDescriptiondeleteRollupJob
(DeleteRollupJobRequest request, RequestOptions options) Deprecated.Delete a rollup job from the cluster See the docs for more.deleteRollupJobAsync
(DeleteRollupJobRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener) Deprecated.Asynchronously delete a rollup job from the cluster See The docs for details.getRollupCapabilities
(GetRollupCapsRequest request, RequestOptions options) Deprecated.Get the Rollup Capabilities of a target (non-rollup) index or pattern See the docs for more.getRollupCapabilitiesAsync
(GetRollupCapsRequest request, RequestOptions options, ActionListener<GetRollupCapsResponse> listener) Deprecated.Asynchronously Get the Rollup Capabilities of a target (non-rollup) index or pattern See the docs for more.getRollupIndexCapabilities
(GetRollupIndexCapsRequest request, RequestOptions options) Deprecated.Get the Rollup Index Capabilities of a rollup index or pattern See the docs for more.getRollupIndexCapabilitiesAsync
(GetRollupIndexCapsRequest request, RequestOptions options, ActionListener<GetRollupIndexCapsResponse> listener) Deprecated.Asynchronously Get the Rollup Index Capabilities of a rollup index or pattern See the docs for more.getRollupJob
(GetRollupJobRequest request, RequestOptions options) Deprecated.Get a rollup job from the cluster.getRollupJobAsync
(GetRollupJobRequest request, RequestOptions options, ActionListener<GetRollupJobResponse> listener) Deprecated.Asynchronously get a rollup job from the cluster.putRollupJob
(PutRollupJobRequest request, RequestOptions options) Deprecated.Put a rollup job into the cluster See the docs for more.putRollupJobAsync
(PutRollupJobRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener) Deprecated.Asynchronously put a rollup job into the cluster See the docs for more.search
(SearchRequest request, RequestOptions options) Deprecated.Perform a rollup search.searchAsync
(SearchRequest request, RequestOptions options, ActionListener<SearchResponse> listener) Deprecated.Perform a rollup search.startRollupJob
(StartRollupJobRequest request, RequestOptions options) Deprecated.Start a rollup job See the docs for more.startRollupJobAsync
(StartRollupJobRequest request, RequestOptions options, ActionListener<StartRollupJobResponse> listener) Deprecated.Asynchronously start a rollup job See the docs for more.stopRollupJob
(StopRollupJobRequest request, RequestOptions options) Deprecated.Stop a rollup job See the docs for more.stopRollupJobAsync
(StopRollupJobRequest request, RequestOptions options, ActionListener<StopRollupJobResponse> listener) Deprecated.Asynchronously stop a rollup job See the docs for more.
-
Method Details
-
putRollupJob
public AcknowledgedResponse putRollupJob(PutRollupJobRequest request, RequestOptions options) throws IOException Deprecated.Put a rollup job into the cluster See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
putRollupJobAsync
public Cancellable putRollupJobAsync(PutRollupJobRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener) Deprecated.Asynchronously put a rollup job into the cluster See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
startRollupJob
public StartRollupJobResponse startRollupJob(StartRollupJobRequest request, RequestOptions options) throws IOException Deprecated.Start a rollup job See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
startRollupJobAsync
public Cancellable startRollupJobAsync(StartRollupJobRequest request, RequestOptions options, ActionListener<StartRollupJobResponse> listener) Deprecated.Asynchronously start a rollup job See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
stopRollupJob
public StopRollupJobResponse stopRollupJob(StopRollupJobRequest request, RequestOptions options) throws IOException Deprecated.Stop a rollup job See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
stopRollupJobAsync
public Cancellable stopRollupJobAsync(StopRollupJobRequest request, RequestOptions options, ActionListener<StopRollupJobResponse> listener) Deprecated.Asynchronously stop a rollup job See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
deleteRollupJob
public AcknowledgedResponse deleteRollupJob(DeleteRollupJobRequest request, RequestOptions options) throws IOException Deprecated.Delete a rollup job from the cluster See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
deleteRollupJobAsync
public Cancellable deleteRollupJobAsync(DeleteRollupJobRequest request, RequestOptions options, ActionListener<AcknowledgedResponse> listener) Deprecated.Asynchronously delete a rollup job from the cluster See The docs for details.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
getRollupJob
public GetRollupJobResponse getRollupJob(GetRollupJobRequest request, RequestOptions options) throws IOException Deprecated.Get a rollup job from the cluster. See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
getRollupJobAsync
public Cancellable getRollupJobAsync(GetRollupJobRequest request, RequestOptions options, ActionListener<GetRollupJobResponse> listener) Deprecated.Asynchronously get a rollup job from the cluster. See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
search
Deprecated.Perform a rollup search. See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
searchAsync
public Cancellable searchAsync(SearchRequest request, RequestOptions options, ActionListener<SearchResponse> listener) Deprecated.Perform a rollup search. See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
getRollupCapabilities
public GetRollupCapsResponse getRollupCapabilities(GetRollupCapsRequest request, RequestOptions options) throws IOException Deprecated.Get the Rollup Capabilities of a target (non-rollup) index or pattern See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
getRollupCapabilitiesAsync
public Cancellable getRollupCapabilitiesAsync(GetRollupCapsRequest request, RequestOptions options, ActionListener<GetRollupCapsResponse> listener) Deprecated.Asynchronously Get the Rollup Capabilities of a target (non-rollup) index or pattern See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-
getRollupIndexCapabilities
public GetRollupIndexCapsResponse getRollupIndexCapabilities(GetRollupIndexCapsRequest request, RequestOptions options) throws IOException Deprecated.Get the Rollup Index Capabilities of a rollup index or pattern See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customized- Returns:
- the response
- Throws:
IOException
- in case there is a problem sending the request or parsing back the response
-
getRollupIndexCapabilitiesAsync
public Cancellable getRollupIndexCapabilitiesAsync(GetRollupIndexCapsRequest request, RequestOptions options, ActionListener<GetRollupIndexCapsResponse> listener) Deprecated.Asynchronously Get the Rollup Index Capabilities of a rollup index or pattern See the docs for more.- Parameters:
request
- the requestoptions
- the request options (e.g. headers), useRequestOptions.DEFAULT
if nothing needs to be customizedlistener
- the listener to be notified upon request completion- Returns:
- cancellable that may be used to cancel the request
-