public class DataVirtualization
extends com.ibm.cloud.sdk.core.service.BaseService
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_NAME |
Constructor and Description |
---|
DataVirtualization(String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `DataVirtualization` client.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<PostDatasourceConnection> |
addDatasourceConnection(AddDatasourceConnectionOptions addDatasourceConnectionOptions)
Add data source connection.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CheckPolicyStatusV2Response> |
checkPolicyStatusV2()
Get policy enforcement status.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CheckPolicyStatusV2Response> |
checkPolicyStatusV2(CheckPolicyStatusV2Options checkPolicyStatusV2Options)
Get policy enforcement status.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteDatasourceConnection(DeleteDatasourceConnectionOptions deleteDatasourceConnectionOptions)
Delete data source connection.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deletePrimaryCatalog(DeletePrimaryCatalogOptions deletePrimaryCatalogOptions)
Delete primary catalog.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
deleteTable(DeleteTableOptions deleteTableOptions)
Delete virtualized table.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
dvaasRevokeRoleFromTable(DvaasRevokeRoleFromTableOptions dvaasRevokeRoleFromTableOptions)
Delete role.
|
com.ibm.cloud.sdk.core.http.ServiceCall<VirtualizeTableResponse> |
dvaasVirtualizeTable(DvaasVirtualizeTableOptions dvaasVirtualizeTableOptions)
Virtualize table.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CacheResponse> |
getCache(GetCacheOptions getCacheOptions)
List a cache.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CacheListResponse> |
getCachesList()
List caches.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CacheListResponse> |
getCachesList(GetCachesListOptions getCachesListOptions)
List caches.
|
com.ibm.cloud.sdk.core.http.ServiceCall<StorageDetails> |
getCacheStorageDetail()
Fetch the cache storage.
|
com.ibm.cloud.sdk.core.http.ServiceCall<StorageDetails> |
getCacheStorageDetail(GetCacheStorageDetailOptions getCacheStorageDetailOptions)
Fetch the cache storage.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ObjStoreConnectionResponseV2> |
getObjectStoreConnectionsV2()
Gets object store connection details.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ObjStoreConnectionResponseV2> |
getObjectStoreConnectionsV2(GetObjectStoreConnectionsV2Options getObjectStoreConnectionsV2Options)
Gets object store connection details.
|
com.ibm.cloud.sdk.core.http.ServiceCall<PrimaryCatalogInfo> |
getPrimaryCatalog()
Get primary catalog ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<PrimaryCatalogInfo> |
getPrimaryCatalog(GetPrimaryCatalogOptions getPrimaryCatalogOptions)
Get primary catalog ID.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
grantRolesToVirtualizedTable(GrantRolesToVirtualizedTableOptions grantRolesToVirtualizedTableOptions)
Grant user role.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
grantUserToVirtualTable(GrantUserToVirtualTableOptions grantUserToVirtualTableOptions)
Grant user access.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DatasourceConnectionsList> |
listDatasourceConnections()
Get data source connections.
|
com.ibm.cloud.sdk.core.http.ServiceCall<DatasourceConnectionsList> |
listDatasourceConnections(ListDatasourceConnectionsOptions listDatasourceConnectionsOptions)
Get data source connections.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TablesForRoleResponse> |
listTablesForRole(ListTablesForRoleOptions listTablesForRoleOptions)
Get virtualized tables by role.
|
static DataVirtualization |
newInstance()
Class method which constructs an instance of the `DataVirtualization` client.
|
static DataVirtualization |
newInstance(String serviceName)
Class method which constructs an instance of the `DataVirtualization` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<PostPrimaryCatalog> |
postPrimaryCatalog(PostPrimaryCatalogOptions postPrimaryCatalogOptions)
Add primary catalog.
|
com.ibm.cloud.sdk.core.http.ServiceCall<CatalogPublishResponse> |
publishAssets(PublishAssetsOptions publishAssetsOptions)
Publish virtual tables to a catalog.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Void> |
revokeUserFromObject(RevokeUserFromObjectOptions revokeUserFromObjectOptions)
Revoke user acccess.
|
com.ibm.cloud.sdk.core.http.ServiceCall<TurnOnPolicyV2Response> |
turnOnPolicyV2(TurnOnPolicyV2Options turnOnPolicyV2Options)
Turn policy enforcement status on or off.
|
com.ibm.cloud.sdk.core.http.ServiceCall<SuccessResponse> |
virtualizeCosV2(VirtualizeCosV2Options virtualizeCosV2Options)
Create a remote table for the ORC or Parquet file on a cloud object store (COS).
|
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
public static final String DEFAULT_SERVICE_NAME
public DataVirtualization(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName
- the service name to be used when configuring the client instanceauthenticator
- the Authenticator
instance to be configured for this clientpublic static DataVirtualization newInstance()
public static DataVirtualization newInstance(String serviceName)
serviceName
- the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<DatasourceConnectionsList> listDatasourceConnections(ListDatasourceConnectionsOptions listDatasourceConnectionsOptions)
listDatasourceConnectionsOptions
- the ListDatasourceConnectionsOptions
containing the options for the callServiceCall
with a result of type DatasourceConnectionsList
public com.ibm.cloud.sdk.core.http.ServiceCall<DatasourceConnectionsList> listDatasourceConnections()
ServiceCall
with a result of type DatasourceConnectionsList
public com.ibm.cloud.sdk.core.http.ServiceCall<PostDatasourceConnection> addDatasourceConnection(AddDatasourceConnectionOptions addDatasourceConnectionOptions)
addDatasourceConnectionOptions
- the AddDatasourceConnectionOptions
containing the options for the callServiceCall
with a result of type PostDatasourceConnection
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteDatasourceConnection(DeleteDatasourceConnectionOptions deleteDatasourceConnectionOptions)
deleteDatasourceConnectionOptions
- the DeleteDatasourceConnectionOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ObjStoreConnectionResponseV2> getObjectStoreConnectionsV2(GetObjectStoreConnectionsV2Options getObjectStoreConnectionsV2Options)
getObjectStoreConnectionsV2Options
- the GetObjectStoreConnectionsV2Options
containing the options for the callServiceCall
with a result of type ObjStoreConnectionResponseV2
public com.ibm.cloud.sdk.core.http.ServiceCall<ObjStoreConnectionResponseV2> getObjectStoreConnectionsV2()
ServiceCall
with a result of type ObjStoreConnectionResponseV2
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> grantUserToVirtualTable(GrantUserToVirtualTableOptions grantUserToVirtualTableOptions)
grantUserToVirtualTableOptions
- the GrantUserToVirtualTableOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> revokeUserFromObject(RevokeUserFromObjectOptions revokeUserFromObjectOptions)
revokeUserFromObjectOptions
- the RevokeUserFromObjectOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> grantRolesToVirtualizedTable(GrantRolesToVirtualizedTableOptions grantRolesToVirtualizedTableOptions)
grantRolesToVirtualizedTableOptions
- the GrantRolesToVirtualizedTableOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<Void> dvaasRevokeRoleFromTable(DvaasRevokeRoleFromTableOptions dvaasRevokeRoleFromTableOptions)
dvaasRevokeRoleFromTableOptions
- the DvaasRevokeRoleFromTableOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<TablesForRoleResponse> listTablesForRole(ListTablesForRoleOptions listTablesForRoleOptions)
listTablesForRoleOptions
- the ListTablesForRoleOptions
containing the options for the callServiceCall
with a result of type TablesForRoleResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<TurnOnPolicyV2Response> turnOnPolicyV2(TurnOnPolicyV2Options turnOnPolicyV2Options)
turnOnPolicyV2Options
- the TurnOnPolicyV2Options
containing the options for the callServiceCall
with a result of type TurnOnPolicyV2Response
public com.ibm.cloud.sdk.core.http.ServiceCall<CheckPolicyStatusV2Response> checkPolicyStatusV2(CheckPolicyStatusV2Options checkPolicyStatusV2Options)
checkPolicyStatusV2Options
- the CheckPolicyStatusV2Options
containing the options for the callServiceCall
with a result of type CheckPolicyStatusV2Response
public com.ibm.cloud.sdk.core.http.ServiceCall<CheckPolicyStatusV2Response> checkPolicyStatusV2()
ServiceCall
with a result of type CheckPolicyStatusV2Response
public com.ibm.cloud.sdk.core.http.ServiceCall<VirtualizeTableResponse> dvaasVirtualizeTable(DvaasVirtualizeTableOptions dvaasVirtualizeTableOptions)
dvaasVirtualizeTableOptions
- the DvaasVirtualizeTableOptions
containing the options for the callServiceCall
with a result of type VirtualizeTableResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteTable(DeleteTableOptions deleteTableOptions)
deleteTableOptions
- the DeleteTableOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<SuccessResponse> virtualizeCosV2(VirtualizeCosV2Options virtualizeCosV2Options)
virtualizeCosV2Options
- the VirtualizeCosV2Options
containing the options for the callServiceCall
with a result of type SuccessResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<PrimaryCatalogInfo> getPrimaryCatalog(GetPrimaryCatalogOptions getPrimaryCatalogOptions)
getPrimaryCatalogOptions
- the GetPrimaryCatalogOptions
containing the options for the callServiceCall
with a result of type PrimaryCatalogInfo
public com.ibm.cloud.sdk.core.http.ServiceCall<PrimaryCatalogInfo> getPrimaryCatalog()
ServiceCall
with a result of type PrimaryCatalogInfo
public com.ibm.cloud.sdk.core.http.ServiceCall<PostPrimaryCatalog> postPrimaryCatalog(PostPrimaryCatalogOptions postPrimaryCatalogOptions)
postPrimaryCatalogOptions
- the PostPrimaryCatalogOptions
containing the options for the callServiceCall
with a result of type PostPrimaryCatalog
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deletePrimaryCatalog(DeletePrimaryCatalogOptions deletePrimaryCatalogOptions)
deletePrimaryCatalogOptions
- the DeletePrimaryCatalogOptions
containing the options for the callServiceCall
with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<CatalogPublishResponse> publishAssets(PublishAssetsOptions publishAssetsOptions)
publishAssetsOptions
- the PublishAssetsOptions
containing the options for the callServiceCall
with a result of type CatalogPublishResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<CacheListResponse> getCachesList(GetCachesListOptions getCachesListOptions)
getCachesListOptions
- the GetCachesListOptions
containing the options for the callServiceCall
with a result of type CacheListResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<CacheListResponse> getCachesList()
ServiceCall
with a result of type CacheListResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<CacheResponse> getCache(GetCacheOptions getCacheOptions)
getCacheOptions
- the GetCacheOptions
containing the options for the callServiceCall
with a result of type CacheResponse
public com.ibm.cloud.sdk.core.http.ServiceCall<StorageDetails> getCacheStorageDetail(GetCacheStorageDetailOptions getCacheStorageDetailOptions)
getCacheStorageDetailOptions
- the GetCacheStorageDetailOptions
containing the options for the callServiceCall
with a result of type StorageDetails
public com.ibm.cloud.sdk.core.http.ServiceCall<StorageDetails> getCacheStorageDetail()
ServiceCall
with a result of type StorageDetails
Copyright © 2021 IBM Cloud. All rights reserved.