Recurrences Interface

public interface Recurrences

An instance of this class provides access to all the operations defined in Recurrences.

Method Summary

Modifier and Type Method and Description
JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity)

Gets the recurrence information for the specified recurrence ID.

JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime)

Gets the recurrence information for the specified recurrence ID.

Observable<JobRecurrenceInformation> getAsync(String accountName, UUID recurrenceIdentity)

Gets the recurrence information for the specified recurrence ID.

Observable<JobRecurrenceInformation> getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime)

Gets the recurrence information for the specified recurrence ID.

ServiceFuture<JobRecurrenceInformation> getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime, final ServiceCallback<JobRecurrenceInformation> serviceCallback)

Gets the recurrence information for the specified recurrence ID.

ServiceFuture<JobRecurrenceInformation> getAsync(String accountName, UUID recurrenceIdentity, final ServiceCallback<JobRecurrenceInformation> serviceCallback)

Gets the recurrence information for the specified recurrence ID.

Observable<ServiceResponse<JobRecurrenceInformation>> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity)

Gets the recurrence information for the specified recurrence ID.

Observable<ServiceResponse<JobRecurrenceInformation>> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime)

Gets the recurrence information for the specified recurrence ID.

PagedList<JobRecurrenceInformation> list(final String accountName)

Lists all recurrences.

PagedList<JobRecurrenceInformation> list(final String accountName, final DateTime startDateTime, final DateTime endDateTime)

Lists all recurrences.

Observable<Page<JobRecurrenceInformation>> listAsync(final String accountName)

Lists all recurrences.

Observable<Page<JobRecurrenceInformation>> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime)

Lists all recurrences.

ServiceFuture<List<JobRecurrenceInformation>> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime, final ListOperationCallback<JobRecurrenceInformation> serviceCallback)

Lists all recurrences.

ServiceFuture<List<JobRecurrenceInformation>> listAsync(final String accountName, final ListOperationCallback<JobRecurrenceInformation> serviceCallback)

Lists all recurrences.

PagedList<JobRecurrenceInformation> listNext(final String nextPageLink)

Lists all recurrences.

Observable<Page<JobRecurrenceInformation>> listNextAsync(final String nextPageLink)

Lists all recurrences.

ServiceFuture<List<JobRecurrenceInformation>> listNextAsync(final String nextPageLink, final ServiceFuture<List<JobRecurrenceInformation>> serviceFuture, final ListOperationCallback<JobRecurrenceInformation> serviceCallback)

Lists all recurrences.

Observable<ServiceResponse<Page<JobRecurrenceInformation>>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists all recurrences.

Observable<ServiceResponse<Page<JobRecurrenceInformation>>> listWithServiceResponseAsync(final String accountName)

Lists all recurrences.

Observable<ServiceResponse<Page<JobRecurrenceInformation>>> listWithServiceResponseAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime)

Lists all recurrences.

Method Details

get

public JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.

Returns:

the JobRecurrenceInformation object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

get

public JobRecurrenceInformation get(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.
startDateTime - The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.

Returns:

the JobRecurrenceInformation object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

getAsync

public Observable getAsync(String accountName, UUID recurrenceIdentity)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.

Returns:

the observable to the JobRecurrenceInformation object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public Observable getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.
startDateTime - The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.

Returns:

the observable to the JobRecurrenceInformation object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime, final ServiceCallback serviceCallback)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.
startDateTime - The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getAsync

public ServiceFuture getAsync(String accountName, UUID recurrenceIdentity, final ServiceCallback serviceCallback)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.

Returns:

the observable to the JobRecurrenceInformation object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

getWithServiceResponseAsync

public Observable> getWithServiceResponseAsync(String accountName, UUID recurrenceIdentity, DateTime startDateTime, DateTime endDateTime)

Gets the recurrence information for the specified recurrence ID.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
recurrenceIdentity - Recurrence ID.
startDateTime - The start date for when to get the recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get recurrence and aggregate its data. The startDateTime and endDateTime can be no more than 30 days apart.

Returns:

the observable to the JobRecurrenceInformation object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

list

public PagedList list(final String accountName)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.

Returns:

the PagedList<JobRecurrenceInformation> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

list

public PagedList list(final String accountName, final DateTime startDateTime, final DateTime endDateTime)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
startDateTime - The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.

Returns:

the PagedList<JobRecurrenceInformation> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listAsync

public Observable> listAsync(final String accountName)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.

Returns:

the observable to the PagedList<JobRecurrenceInformation> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public Observable> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
startDateTime - The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.

Returns:

the observable to the PagedList<JobRecurrenceInformation> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture> listAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime, final ListOperationCallback serviceCallback)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
startDateTime - The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listAsync

public ServiceFuture> listAsync(final String accountName, final ListOperationCallback serviceCallback)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNext

public PagedList listNext(final String nextPageLink)

Lists all recurrences.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the PagedList<JobRecurrenceInformation> object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
CloudException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

listNextAsync

public Observable> listNextAsync(final String nextPageLink)

Lists all recurrences.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<JobRecurrenceInformation> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextAsync

public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback)

Lists all recurrences.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.
serviceFuture - the ServiceFuture object tracking the Retrofit calls
serviceCallback - the async ServiceCallback to handle successful and failed responses.

Returns:

the ServiceFuture object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listNextWithServiceResponseAsync

public Observable>> listNextWithServiceResponseAsync(final String nextPageLink)

Lists all recurrences.

Parameters:

nextPageLink - The NextLink from the previous successful call to List operation.

Returns:

the observable to the PagedList<JobRecurrenceInformation> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable>> listWithServiceResponseAsync(final String accountName)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.

Returns:

the observable to the PagedList<JobRecurrenceInformation> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

listWithServiceResponseAsync

public Observable>> listWithServiceResponseAsync(final String accountName, final DateTime startDateTime, final DateTime endDateTime)

Lists all recurrences.

Parameters:

accountName - The Azure Data Lake Analytics account to execute job operations on.
startDateTime - The start date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.
endDateTime - The end date for when to get the list of recurrences. The startDateTime and endDateTime can be no more than 30 days apart.

Returns:

the observable to the PagedList<JobRecurrenceInformation> object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to