Package com.clinia.api
Class DatacatalogClient
java.lang.Object
com.clinia.ApiClient
com.clinia.api.DatacatalogClient
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionDatacatalogClient(String workspaceId, String apiKey) DatacatalogClient(String workspaceId, String apiKey, ClientOptions options) -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection(String sourceKey, V1Connection v1Connection) Create a Connection for a data source.createConnection(String sourceKey, V1Connection v1Connection, RequestOptions requestOptions) Create a Connection for a data source.createConnectionAsync(String sourceKey, V1Connection v1Connection) (asynchronously) Create a Connection for a data source.createConnectionAsync(String sourceKey, V1Connection v1Connection, RequestOptions requestOptions) (asynchronously) Create a Connection for a data source.createDataPartition(String key, V1DataPartition v1DataPartition) Create a data partition.createDataPartition(String key, V1DataPartition v1DataPartition, RequestOptions requestOptions) Create a data partition.createDataPartitionAsync(String key, V1DataPartition v1DataPartition) (asynchronously) Create a data partition.createDataPartitionAsync(String key, V1DataPartition v1DataPartition, RequestOptions requestOptions) (asynchronously) Create a data partition.createDataSource(String key, V1DataSource v1DataSource) Create a data source.createDataSource(String key, V1DataSource v1DataSource, RequestOptions requestOptions) Create a data source.createDataSourceAsync(String key, V1DataSource v1DataSource) (asynchronously) Create a data source.createDataSourceAsync(String key, V1DataSource v1DataSource, RequestOptions requestOptions) (asynchronously) Create a data source.voiddeleteConnection(String sourceKey, String key) Delete a Connection.voiddeleteConnection(String sourceKey, String key, RequestOptions requestOptions) Delete a Connection.deleteConnectionAsync(String sourceKey, String key) (asynchronously) Delete a Connection.deleteConnectionAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Delete a Connection.voidDelete a data partition.voiddeleteDataPartition(String key, RequestOptions requestOptions) Delete a data partition.(asynchronously) Delete a data partition.deleteDataPartitionAsync(String key, RequestOptions requestOptions) (asynchronously) Delete a data partition.voiddeleteDataSource(String key) Delete a data source.voiddeleteDataSource(String key, RequestOptions requestOptions) Delete a data source.(asynchronously) Delete a data source.deleteDataSourceAsync(String key, RequestOptions requestOptions) (asynchronously) Delete a data source.getConnection(String sourceKey, String key) Get a Connection.getConnection(String sourceKey, String key, RequestOptions requestOptions) Get a Connection.getConnectionAsync(String sourceKey, String key) (asynchronously) Get a Connection.getConnectionAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Get a Connection.getDataPartition(String key) Get a data partition.getDataPartition(String key, RequestOptions requestOptions) Get a data partition.(asynchronously) Get a data partition.getDataPartitionAsync(String key, RequestOptions requestOptions) (asynchronously) Get a data partition.getDataSource(String key) Get the data source with the given key.getDataSource(String key, RequestOptions requestOptions) Get the data source with the given key.getDataSourceAsync(String key) (asynchronously) Get the data source with the given key.getDataSourceAsync(String key, RequestOptions requestOptions) (asynchronously) Get the data source with the given key.listConnections(String sourceKey) List the Connections for a data source.listConnections(String sourceKey, RequestOptions requestOptions) List the Connections for a data source.listConnections(String sourceKey, Integer page, Integer perPage) List the Connections for a data source.listConnections(String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) List the Connections for a data source.listConnectionsAsync(String sourceKey) (asynchronously) List the Connections for a data source.listConnectionsAsync(String sourceKey, RequestOptions requestOptions) (asynchronously) List the Connections for a data source.listConnectionsAsync(String sourceKey, Integer page, Integer perPage) (asynchronously) List the Connections for a data source.listConnectionsAsync(String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) (asynchronously) List the Connections for a data source.Lists the data partitions.listDataPartitions(RequestOptions requestOptions) Lists the data partitions.listDataPartitions(Integer page, Integer perPage) Lists the data partitions.listDataPartitions(Integer page, Integer perPage, RequestOptions requestOptions) Lists the data partitions.(asynchronously) Lists the data partitions.listDataPartitionsAsync(RequestOptions requestOptions) (asynchronously) Lists the data partitions.listDataPartitionsAsync(Integer page, Integer perPage) (asynchronously) Lists the data partitions.listDataPartitionsAsync(Integer page, Integer perPage, RequestOptions requestOptions) (asynchronously) Lists the data partitions.Lists the data sources.listDataSources(RequestOptions requestOptions) Lists the data sources.listDataSources(Integer page, Integer perPage) Lists the data sources.listDataSources(Integer page, Integer perPage, RequestOptions requestOptions) Lists the data sources.(asynchronously) Lists the data sources.listDataSourcesAsync(RequestOptions requestOptions) (asynchronously) Lists the data sources.listDataSourcesAsync(Integer page, Integer perPage) (asynchronously) Lists the data sources.listDataSourcesAsync(Integer page, Integer perPage, RequestOptions requestOptions) (asynchronously) Lists the data sources.voidpauseConnection(String sourceKey, String key) Pause a Connection.voidpauseConnection(String sourceKey, String key, RequestOptions requestOptions) Pause a Connection.pauseConnectionAsync(String sourceKey, String key) (asynchronously) Pause a Connection.pauseConnectionAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Pause a Connection.voidresumeConnection(String sourceKey, String key) Resume a Connection.voidresumeConnection(String sourceKey, String key, RequestOptions requestOptions) Resume a Connection.resumeConnectionAsync(String sourceKey, String key) (asynchronously) Resume a Connection.resumeConnectionAsync(String sourceKey, String key, RequestOptions requestOptions) (asynchronously) Resume a Connection.Methods inherited from class com.clinia.ApiClient
close, executeAsync, executeAsync
-
Constructor Details
-
DatacatalogClient
-
DatacatalogClient
-
-
Method Details
-
createConnection
public V1Connection createConnection(@Nonnull String sourceKey, @Nonnull V1Connection v1Connection, RequestOptions requestOptions) throws CliniaRuntimeException Create a Connection for a data source.- Parameters:
sourceKey- The key of the source. (required)v1Connection- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createConnection
public V1Connection createConnection(@Nonnull String sourceKey, @Nonnull V1Connection v1Connection) throws CliniaRuntimeException Create a Connection for a data source.- Parameters:
sourceKey- The key of the source. (required)v1Connection- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createConnectionAsync
public CompletableFuture<V1Connection> createConnectionAsync(@Nonnull String sourceKey, @Nonnull V1Connection v1Connection, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Create a Connection for a data source.- Parameters:
sourceKey- The key of the source. (required)v1Connection- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createConnectionAsync
public CompletableFuture<V1Connection> createConnectionAsync(@Nonnull String sourceKey, @Nonnull V1Connection v1Connection) throws CliniaRuntimeException (asynchronously) Create a Connection for a data source.- Parameters:
sourceKey- The key of the source. (required)v1Connection- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataPartition
public V1DataPartition createDataPartition(@Nonnull String key, @Nonnull V1DataPartition v1DataPartition, RequestOptions requestOptions) throws CliniaRuntimeException Create a data partition.- Parameters:
key- Key of the data partition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataPartition- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataPartition
public V1DataPartition createDataPartition(@Nonnull String key, @Nonnull V1DataPartition v1DataPartition) throws CliniaRuntimeException Create a data partition.- Parameters:
key- Key of the data partition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataPartition- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataPartitionAsync
public CompletableFuture<V1DataPartition> createDataPartitionAsync(@Nonnull String key, @Nonnull V1DataPartition v1DataPartition, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Create a data partition.- Parameters:
key- Key of the data partition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataPartition- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataPartitionAsync
public CompletableFuture<V1DataPartition> createDataPartitionAsync(@Nonnull String key, @Nonnull V1DataPartition v1DataPartition) throws CliniaRuntimeException (asynchronously) Create a data partition.- Parameters:
key- Key of the data partition. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataPartition- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataSource
public V1DataSource createDataSource(@Nonnull String key, @Nonnull V1DataSource v1DataSource, RequestOptions requestOptions) throws CliniaRuntimeException Create a data source.- Parameters:
key- Key of the data source. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataSource- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataSource
public V1DataSource createDataSource(@Nonnull String key, @Nonnull V1DataSource v1DataSource) throws CliniaRuntimeException Create a data source.- Parameters:
key- Key of the data source. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataSource- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataSourceAsync
public CompletableFuture<V1DataSource> createDataSourceAsync(@Nonnull String key, @Nonnull V1DataSource v1DataSource, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Create a data source.- Parameters:
key- Key of the data source. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataSource- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
createDataSourceAsync
public CompletableFuture<V1DataSource> createDataSourceAsync(@Nonnull String key, @Nonnull V1DataSource v1DataSource) throws CliniaRuntimeException (asynchronously) Create a data source.- Parameters:
key- Key of the data source. It must follow pattern: `^[a-zA-Z0-9-][\\w-]{0,61}$`. (required)v1DataSource- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteConnection
public void deleteConnection(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Delete a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteConnection
public void deleteConnection(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Delete a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteConnectionAsync
public CompletableFuture<Void> deleteConnectionAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteConnectionAsync
public CompletableFuture<Void> deleteConnectionAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Delete a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataPartition
public void deleteDataPartition(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Delete a data partition.- Parameters:
key- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataPartition
Delete a data partition.- Parameters:
key- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataPartitionAsync
public CompletableFuture<Void> deleteDataPartitionAsync(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a data partition.- Parameters:
key- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataPartitionAsync
public CompletableFuture<Void> deleteDataPartitionAsync(@Nonnull String key) throws CliniaRuntimeException (asynchronously) Delete a data partition.- Parameters:
key- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataSource
public void deleteDataSource(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Delete a data source.- Parameters:
key- Key of the data source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataSource
Delete a data source.- Parameters:
key- Key of the data source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataSourceAsync
public CompletableFuture<Void> deleteDataSourceAsync(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Delete a data source.- Parameters:
key- Key of the data source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
deleteDataSourceAsync
public CompletableFuture<Void> deleteDataSourceAsync(@Nonnull String key) throws CliniaRuntimeException (asynchronously) Delete a data source.- Parameters:
key- Key of the data source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getConnection
public V1Connection getConnection(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Get a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getConnection
public V1Connection getConnection(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Get a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getConnectionAsync
public CompletableFuture<V1Connection> getConnectionAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getConnectionAsync
public CompletableFuture<V1Connection> getConnectionAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Get a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataPartition
public V1DataPartition getDataPartition(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Get a data partition.- Parameters:
key- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataPartition
Get a data partition.- Parameters:
key- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataPartitionAsync
public CompletableFuture<V1DataPartition> getDataPartitionAsync(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get a data partition.- Parameters:
key- (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataPartitionAsync
public CompletableFuture<V1DataPartition> getDataPartitionAsync(@Nonnull String key) throws CliniaRuntimeException (asynchronously) Get a data partition.- Parameters:
key- (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataSource
public V1DataSource getDataSource(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Get the data source with the given key.- Parameters:
key- Key of the data source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataSource
Get the data source with the given key.- Parameters:
key- Key of the data source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataSourceAsync
public CompletableFuture<V1DataSource> getDataSourceAsync(@Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Get the data source with the given key.- Parameters:
key- Key of the data source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
getDataSourceAsync
public CompletableFuture<V1DataSource> getDataSourceAsync(@Nonnull String key) throws CliniaRuntimeException (asynchronously) Get the data source with the given key.- Parameters:
key- Key of the data source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnections
public ListConnections200Response listConnections(@Nonnull String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnections
public ListConnections200Response listConnections(@Nonnull String sourceKey, Integer page, Integer perPage) throws CliniaRuntimeException List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnections
public ListConnections200Response listConnections(@Nonnull String sourceKey, RequestOptions requestOptions) throws CliniaRuntimeException List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnections
public ListConnections200Response listConnections(@Nonnull String sourceKey) throws CliniaRuntimeException List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnectionsAsync
public CompletableFuture<ListConnections200Response> listConnectionsAsync(@Nonnull String sourceKey, Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnectionsAsync
public CompletableFuture<ListConnections200Response> listConnectionsAsync(@Nonnull String sourceKey, Integer page, Integer perPage) throws CliniaRuntimeException (asynchronously) List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnectionsAsync
public CompletableFuture<ListConnections200Response> listConnectionsAsync(@Nonnull String sourceKey, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listConnectionsAsync
public CompletableFuture<ListConnections200Response> listConnectionsAsync(@Nonnull String sourceKey) throws CliniaRuntimeException (asynchronously) List the Connections for a data source.- Parameters:
sourceKey- The key of the source. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitions
public ListDataPartitions200Response listDataPartitions(Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException Lists the data partitions.- Parameters:
page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitions
public ListDataPartitions200Response listDataPartitions(Integer page, Integer perPage) throws CliniaRuntimeException Lists the data partitions.- Parameters:
page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitions
public ListDataPartitions200Response listDataPartitions(RequestOptions requestOptions) throws CliniaRuntimeException Lists the data partitions.- Parameters:
requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitions
Lists the data partitions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitionsAsync
public CompletableFuture<ListDataPartitions200Response> listDataPartitionsAsync(Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Lists the data partitions.- Parameters:
page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitionsAsync
public CompletableFuture<ListDataPartitions200Response> listDataPartitionsAsync(Integer page, Integer perPage) throws CliniaRuntimeException (asynchronously) Lists the data partitions.- Parameters:
page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitionsAsync
public CompletableFuture<ListDataPartitions200Response> listDataPartitionsAsync(RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Lists the data partitions.- Parameters:
requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataPartitionsAsync
public CompletableFuture<ListDataPartitions200Response> listDataPartitionsAsync() throws CliniaRuntimeException(asynchronously) Lists the data partitions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSources
public ListDataSources200Response listDataSources(Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException Lists the data sources.- Parameters:
page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSources
public ListDataSources200Response listDataSources(Integer page, Integer perPage) throws CliniaRuntimeException Lists the data sources.- Parameters:
page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSources
public ListDataSources200Response listDataSources(RequestOptions requestOptions) throws CliniaRuntimeException Lists the data sources.- Parameters:
requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSources
Lists the data sources.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSourcesAsync
public CompletableFuture<ListDataSources200Response> listDataSourcesAsync(Integer page, Integer perPage, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Lists the data sources.- Parameters:
page- (optional)perPage- (optional)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSourcesAsync
public CompletableFuture<ListDataSources200Response> listDataSourcesAsync(Integer page, Integer perPage) throws CliniaRuntimeException (asynchronously) Lists the data sources.- Parameters:
page- (optional)perPage- (optional)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSourcesAsync
public CompletableFuture<ListDataSources200Response> listDataSourcesAsync(RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Lists the data sources.- Parameters:
requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
listDataSourcesAsync
public CompletableFuture<ListDataSources200Response> listDataSourcesAsync() throws CliniaRuntimeException(asynchronously) Lists the data sources.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
pauseConnection
public void pauseConnection(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Pause a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
pauseConnection
public void pauseConnection(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Pause a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
pauseConnectionAsync
public CompletableFuture<Void> pauseConnectionAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Pause a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
pauseConnectionAsync
public CompletableFuture<Void> pauseConnectionAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Pause a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
resumeConnection
public void resumeConnection(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException Resume a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
resumeConnection
public void resumeConnection(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException Resume a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-
resumeConnectionAsync
public CompletableFuture<Void> resumeConnectionAsync(@Nonnull String sourceKey, @Nonnull String key, RequestOptions requestOptions) throws CliniaRuntimeException (asynchronously) Resume a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)requestOptions- The requestOptions to send along with the query, they will be merged with the transporter requestOptions.- Throws:
CliniaRuntimeException- If it fails to process the API call
-
resumeConnectionAsync
public CompletableFuture<Void> resumeConnectionAsync(@Nonnull String sourceKey, @Nonnull String key) throws CliniaRuntimeException (asynchronously) Resume a Connection.- Parameters:
sourceKey- The key of the source. (required)key- Key of the connection. (required)- Throws:
CliniaRuntimeException- If it fails to process the API call
-