public interface IDatasource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_DATABASE
TYPE_DATABASE: A database connection type as described in the datasource config file.
|
static java.lang.String |
TYPE_EDC
TYPE_EDC: This is the EDC data connection for this decision service.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDatasourceCatalogFilter()
If this is an EDC connection, there may be a Catalog filter provided in the configuration.
|
java.lang.String |
getDatasourceConnectionURL()
Returns either the URL or the connection string for the datasource connection.
|
java.lang.String |
getDatasourceDescription()
Returns a human readable description of this datasource.
|
java.lang.String |
getDatasourceDriverId()
If this is a database or EDC connection, there will be a corticon database driver for the associated database,
calling this method will return the ID of the database driver.
|
java.lang.String |
getDatasourceName()
Returns the name of this datasource, this is generally used to look up the datasource and associated configuration.
|
java.lang.String |
getDatasourcePassword()
Returns the password portion of the login information (if any) that this datasource was configured for.
|
java.util.Properties |
getDatasourceProperties()
Gets the property object representing all the datasource's properties, this includes
the database driver ID and login information for applicable datasources.
|
java.lang.String |
getDatasourceSchemaFilter()
If this is an EDC connection, there may be a Schema filter provided in the configuration.
|
java.lang.String |
getDatasourceType()
Returns the type of datasource connection this is, different connections can be accessed differently.
|
java.lang.String |
getDatasourceUserName()
Returns the username portion of the login information (if any) that this datasource was configured for.
|
java.lang.String |
getDatsourceProperty(java.lang.String astrMappingPropertyName)
Gets the value for a particular configuration property, this is commonly used in database connections, where
particular databases drivers may need additional properties set specific to the driver.
|
boolean |
getUseForQueryService()
If this datasource is the Query Datasource, that is it is the datasource that contains the metadata used by ADC.
|
static final java.lang.String TYPE_EDC
static final java.lang.String TYPE_DATABASE
java.lang.String getDatasourceType()
java.lang.String getDatasourceName()
java.lang.String getDatasourceDescription()
java.lang.String getDatasourceUserName()
java.lang.String getDatasourcePassword()
java.lang.String getDatasourceConnectionURL()
protocol://hostname:port/path{options}
java.lang.String getDatasourceDriverId()
boolean getUseForQueryService()
java.lang.String getDatasourceSchemaFilter()
java.lang.String getDatasourceCatalogFilter()
java.lang.String getDatsourceProperty(java.lang.String astrMappingPropertyName)
astrMappingPropertyName
- The property you wish to retrieve the value of.java.util.Properties getDatasourceProperties()
Copyright © 2005-2018 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.