public interface VDPManager extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
generateOrderByExpressionWithPK(int vdpDataSourceID,
Collection<String> pkFields)
Returns a default ORDER BY expression generated from the selected PK fields.
|
String |
generateOrderByExpressionWithPK(int vdpDataSourceID,
String viewName)
Returns a default ORDER BY expression generated from the selected view's PK.
|
Collection<String> |
getCatalogNames(int vdpDataSourceID)
Returns a collection with the names of the catalogs/databases of the VDP Server defined by
the identifier of the data source.
|
Collection<String> |
getDateFieldsFromView(int vdpDataSourceID,
String viewName)
Returns the date-type fields of a VDP view.
|
Collection<VDPViewElement> |
getElements(int vdpDataSourceID,
VDPViewElementFilter elementFilter)
Returns a collection of the elements of the database defined in elementFilter and VDP Server defined by
the identifier of the data source.
|
VDPViewFields |
getFieldsFromView(int vdpDataSourceID,
String viewName)
Deprecated.
Deprecated since 8.0u03.
Use |
String |
getIncrementalCacheStoredProcedureName(int vdpDataSourceID)
Returns the name of the stored procedure for incremental cache load of the VDP Server defined by
the identifier of the data source.
|
Collection<String> |
getJDBCTableViewNamesByCatalog(int vdpDataSourceID,
String catalogName)
Deprecated.
Deprecated since 8.0u03.
Use |
Collection<String> |
getJDBCTableViewNamesByCatalogAndFilter(int vdpDataSourceID,
String catalogName,
String viewNameFilter)
Returns a collection with the names of the base views over a jdbc table of the VDP Server defined by the
identifier of the data source.
|
Collection<String> |
getPKFieldsFromView(int vdpDataSourceID,
String viewName)
Deprecated.
Deprecated since 8.0u03.
Use |
Collection<String> |
getSummaryViewNamesByCatalog(int vdpDataSourceID,
String catalogName)
Deprecated.
Deprecated since 8.0u03.
Use |
Collection<String> |
getSummaryViewNamesByCatalogAndFilter(int vdpDataSourceID,
String catalogName,
String viewNameFilter)
Returns a collection with the names of the base views over a summary of the VDP Server defined by the identifier
of the data source
|
Collection<String> |
getTextFieldsFromView(int vdpDataSourceID,
String viewName)
Returns the text-type fields of a VDP view.
|
Collection<<any>> |
getVDPI18NList(int vdpDataSourceID)
Returns a collection of i18n labels
from the VDP Server using the data source identified by vdpDataSourceID.
|
VDPLocale |
getVDPLocale(int vdpDataSourceID,
String code)
Returns the VDP Locale defined by code parameter
from VDP Server using the data source identified by vdpDataSourceID.
|
VDPViewInfo |
getViewInfo(int vdpDataSourceID,
String viewName)
Returns the creation query, pks and fields of a VDP view and which ones are mandatory.
|
Collection<String> |
getViewNames(int vdpDataSourceID)
Returns a collection with the names of the views (base and derived) of the VDP Server defined by
the identifier of the data source.
|
Collection<String> |
getViewNamesByCatalog(int vdpDataSourceID,
String catalogName)
Deprecated.
Deprecated since 8.0u03.
Use |
Collection<String> |
getViewNamesByCatalogAndFilter(int vdpDataSourceID,
String catalogName,
String viewNameFilter)
Returns a collection with the names of the views (base and derived) of the VDP Server defined by the identifier
of the data source.
|
Collection<String> |
getViewsWithPKNames(int vdpDataSourceID)
Returns a collection with the names of the views (base and derived) of the VDP Server defined by
the identifier of the data source.
|
Collection<String> |
getViewsWithPKNames(int vdpDataSourceID,
String catalogName)
Returns a collection with the names of the views (base and derived) of the VDP Server defined by
the identifier of the data source.
|
Collection<String> |
getViewsWithPKNamesByCatalogAndFilter(int vdpDataSourceID,
String catalogName,
String viewNameFilter)
Returns a collection with the names of the views (base and derived) of the VDP Server defined by the identifier
of the data source.
|
String |
validateQuery(int vdpDataSourceID,
String query)
Checks if a query is valid (without executing it).
|
String |
validateQuery(int vdpDataSourceID,
String query,
String contextOpts)
Checks if a query is valid (without executing it).
|
Collection<String> getViewNames(int vdpDataSourceID) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getViewsWithPKNames(int vdpDataSourceID) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getViewsWithPKNames(int vdpDataSourceID, String catalogName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.String getIncrementalCacheStoredProcedureName(int vdpDataSourceID) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.String generateOrderByExpressionWithPK(int vdpDataSourceID, String viewName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
ORDER BY pk_field_1 ASC[, pk_field_n ASC]*. An empty string
will be returned in case the selected view does not have a PK.vdpDataSourceID - the identifier of the VDP data source created in Scheduler.viewName - the name of the view.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.String generateOrderByExpressionWithPK(int vdpDataSourceID, Collection<String> pkFields) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
ORDER BY pk_field_1 ASC[, pk_field_n ASC]*.vdpDataSourceID - the identifier of the VDP data source created in Scheduler.pkFields - the PK fields to generate the ORDER BY expression.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.@Deprecated Collection<String> getPKFieldsFromView(int vdpDataSourceID, String viewName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
Use getViewInfo(int, String) instead.
null.vdpDataSourceID - the identifier of the VDP data source created in Scheduler.viewName - the name of the view.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getDateFieldsFromView(int vdpDataSourceID, String viewName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
null.vdpDataSourceID - the identifier of the VDP data source created in Scheduler.viewName - the name of the view.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getTextFieldsFromView(int vdpDataSourceID, String viewName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
null.vdpDataSourceID - the identifier of the VDP data source created in Scheduler.viewName - the name of the view.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.@Deprecated VDPViewFields getFieldsFromView(int vdpDataSourceID, String viewName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
Use getViewInfo(int, String) instead.
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.viewName - the name of the view.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.String validateQuery(int vdpDataSourceID, String query) throws InstanceNotFoundException, VDPConnectException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.query - the query to test.String with the error message; null,
otherwise.InstanceNotFoundException - if the data source does not exist.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InternalErrorException - if an error occurs during the process.String validateQuery(int vdpDataSourceID, String query, String contextOpts) throws InstanceNotFoundException, VDPConnectException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.query - the query to test.contextOpts - the query context options. For instance: "'prop1'='val1','propN'='valN'"String with the error message; null,
otherwise.InstanceNotFoundException - if the data source does not exist.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InternalErrorException - if an error occurs during the process.@Deprecated Collection<String> getViewNamesByCatalog(int vdpDataSourceID, String catalogName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
Use VDPManager#getViewNamesByCatalog(int, String, String) instead.
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesVDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getViewNamesByCatalogAndFilter(int vdpDataSourceID, String catalogName, String viewNameFilter) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesviewNameFilter - filters view names. null or empty string accepted if no filter neededVDPConnectException - if a connection error occurs against VDP. Typically, the connection was refused
remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getViewsWithPKNamesByCatalogAndFilter(int vdpDataSourceID, String catalogName, String viewNameFilter) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesviewNameFilter - filters view names. null or empty string accepted if no filter neededVDPConnectException - if a connection error occurs against VDP. Typically, the connection was refused
remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.@Deprecated Collection<String> getJDBCTableViewNamesByCatalog(int vdpDataSourceID, String catalogName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
Use VDPManager#getJDBCTableViewNamesByCatalog(int, String, String) instead.
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesVDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getJDBCTableViewNamesByCatalogAndFilter(int vdpDataSourceID, String catalogName, String viewNameFilter) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesviewNameFilter - filters view names. null or empty string accepted if no filter neededVDPConnectException - if a connection error occurs against VDP. Typically, the connection was refused
remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.@Deprecated Collection<String> getSummaryViewNamesByCatalog(int vdpDataSourceID, String catalogName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
Use VDPManager#getSummaryViewNamesByCatalog(int, String, String) instead.
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesVDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getSummaryViewNamesByCatalogAndFilter(int vdpDataSourceID, String catalogName, String viewNameFilter) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.catalogName - the name of the database. null accepted to search all databasesviewNameFilter - filters view names. null or empty string accepted if no filter neededVDPConnectException - if a connection error occurs against VDP. Typically, the connection was refused
remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.VDPViewInfo getViewInfo(int vdpDataSourceID, String viewName) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.viewName - the name of the view. Can also contain the catalog using 'catalog.viewname' format.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<String> getCatalogNames(int vdpDataSourceID) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<VDPViewElement> getElements(int vdpDataSourceID, VDPViewElementFilter elementFilter) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.elementFilter - data to filter retrieved elements, like name of database or subtype.VDPConnectException - if a connection error occurs against VDP. Typically, the connection
was refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Collection<<any>> getVDPI18NList(int vdpDataSourceID) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.VDPConnectException - if a connection error occurs against VDP. Typically, the connection was
refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.VDPLocale getVDPLocale(int vdpDataSourceID, String code) throws VDPConnectException, InstanceNotFoundException, InternalErrorException
vdpDataSourceID - the identifier of the VDP data source created in Scheduler.code - code of the localeVDPConnectException - if a connection error occurs against VDP. Typically, the connection was
refused remotely or the authentication was wrong.InstanceNotFoundException - if the data source does not exist.InternalErrorException - if an error occurs during the process.Copyright © 2024 Denodo Technologies. All rights reserved.