public class DiscoveryAssetCatalogStoreClient extends DiscoveryAssetCatalogStore
maxPageSize, userId| Constructor and Description |
|---|
DiscoveryAssetCatalogStoreClient(String userId,
DiscoveryEngineClient discoveryEngineClient,
int maxPageSize)
Create a discovery asset catalog store that call call the discovery engine client.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
findAssets(String searchString,
int startFrom,
int pageSize)
Return the list of assets that have the search string somewhere in their properties.
|
List<String> |
getAssets(int startFrom,
int pageSize)
Return the next set of assets to process.
|
List<String> |
getAssetsByEndpoint(String networkAddress,
int startFrom,
int pageSize)
Return the list of assets that have the same endpoint address.
|
List<String> |
getAssetsByName(String name,
int startFrom,
int pageSize)
Return the list of matching assets that have the supplied name as either the
qualified name or display name.
|
List<String> |
getAssetsByQualifiedName(String name,
int startFrom,
int pageSize)
Return the assets with the same qualified name.
|
getMaxPageSizepublic DiscoveryAssetCatalogStoreClient(String userId, DiscoveryEngineClient discoveryEngineClient, int maxPageSize)
userId - calling userdiscoveryEngineClient - client for the Discovery Engine OMASmaxPageSize - maximum number of results to return.public List<String> getAssets(int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getAssets in class DiscoveryAssetCatalogStorestartFrom - starting point of the querypageSize - maximum number of results to returnInvalidParameterException - one of the parameters is not recognizedUserNotAuthorizedException - the user is not authorized to access the asset and/or connectionPropertyServerException - there was a problem in the store whether the asset/connection properties are kept.public List<String> getAssetsByQualifiedName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getAssetsByQualifiedName in class DiscoveryAssetCatalogStorename - the qualified name to query onstartFrom - place to start in querypageSize - number of results to returnInvalidParameterException - one of the parameters is not recognizedUserNotAuthorizedException - the user is not authorized to access the asset and/or connectionPropertyServerException - there was a problem in the store whether the asset/connection properties are kept.public List<String> getAssetsByName(String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getAssetsByName in class DiscoveryAssetCatalogStorename - name to query forstartFrom - place to start in querypageSize - number of results to returnInvalidParameterException - one of the parameters is not recognizedUserNotAuthorizedException - the user is not authorized to access the asset and/or connectionPropertyServerException - there was a problem in the store whether the asset/connection properties are kept.public List<String> findAssets(String searchString, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
findAssets in class DiscoveryAssetCatalogStoresearchString - value to search forstartFrom - place to start in querypageSize - number of results to returnInvalidParameterException - one of the parameters is not recognizedUserNotAuthorizedException - the user is not authorized to access the asset and/or connectionPropertyServerException - there was a problem in the store whether the asset/connection properties are kept.public List<String> getAssetsByEndpoint(String networkAddress, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
getAssetsByEndpoint in class DiscoveryAssetCatalogStorenetworkAddress - address to query onstartFrom - place to start in querypageSize - number of results to returnInvalidParameterException - one of the parameters is not recognizedUserNotAuthorizedException - the user is not authorized to access the asset and/or connectionPropertyServerException - there was a problem in the store whether the asset/connection properties are kept.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.