Class StiAbstractAdapter
java.lang.Object
com.stimulsoft.report.dictionary.adapters.StiAbstractAdapter
- Direct Known Subclasses:
StiDuckDbAdapter,StiJdbcAdapter,StiMsSqlAdapter,StiMySqlAdapter,StiOracleAdapter,StiPostgreSqlAdapter
Copyright Stimulsoft
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(StiDictionary dictionary) Creates a new Data Source and adds it to the dictionary.create(StiDictionary dictionary, Boolean addToDictionary) protected abstract Stringabstract Class<? extends StiDataSource> protected abstract Stringabstract Stringprotected StringgetHost()getLeastOne(List<String> keys) protected Stringprotected StringgetPort()protected StringgetUser()booleanhasLeastOne(List<String> keys) booleanprotected Stringvalidation(String value, String name)
-
Field Details
-
URL_KEYS
-
OVERRIDE_CONNECTION_STRING
- See Also:
-
parsedParameters
-
-
Constructor Details
-
StiAbstractAdapter
-
-
Method Details
-
create
- Parameters:
dictionary- Dictionary to add Data Source.addToDictionary-- Returns:
- Created Data Source.
-
getDataSourceClass
-
create
Creates a new Data Source and adds it to the dictionary.- Parameters:
dictionary-- Returns:
-
getJdbcParameters
-
getParsedParameters
- Returns:
- the parsedParameters
-
validation
-
getDriverName
-
getConnectionURL
-
getDefaultPort
-
getUser
-
getPassword
-
getHost
-
getPort
-
getDataBase
-
getLeastOne
-
hasLeastOne
-
getLeastOne
-
hasLeastOne
-
getUrlKeys
- Returns:
URL_KEYS
-
getPortKey
- Returns:
PORT_KEY
-
getHostKey
- Returns:
HOST_KEY
-
getDatabaseName
- Returns:
DATABASE_KEY
-
getDriverKeys
- Returns:
DRIVER_KEYS
-
getParams
-