public class AdapterProperties extends AbstractAdapterProperties
It is still possible to access the raw keys and values in order to support properties that are specific to an adapter type an can therefore not be covered in the common module.
| Modifier and Type | Field and Description |
|---|---|
static String |
CATALOG_NAME_PROPERTY |
static String |
CONNECTION_NAME_PROPERTY |
static String |
CONNECTION_STRING_PROPERTY |
static String |
DEBUG_ADDRESS_PROPERTY |
static String |
EXCEPTION_HANDLING_PROPERTY |
static String |
EXCLUDED_CAPABILITIES_PROPERTY |
static String |
IGNORE_ERRORS_PROPERTY |
static String |
IS_LOCAL_PROPERTY |
static String |
LOG_LEVEL_PROPERTY |
static String |
PASSWORD_PROPERTY |
static String |
SCHEMA_NAME_PROPERTY |
static String |
SQL_DIALECT_PROPERTY |
static String |
TABLE_FILTER_PROPERTY |
static String |
USERNAME_PROPERTY |
| Constructor and Description |
|---|
AdapterProperties(Map<String,String> properties)
Create a new instance of
AdapterProperties |
| Modifier and Type | Method and Description |
|---|---|
static AdapterProperties |
emptyProperties()
Get empty map
|
String |
getCatalogName()
Get the catalog name
|
String |
getConnectionName()
Get the connection name
|
String |
getConnectionString()
Get the connection string
|
String |
getDebugAddress()
Get the debug address
|
String |
getExceptionHandling()
Get the exception handling
|
String |
getExcludedCapabilities()
Get the excluded capabilities
|
List<String> |
getFilteredTables()
Get the list of tables for which the metadata will be read from the remote source
|
List<String> |
getIgnoredErrors()
Get the list of ignored errors
|
String |
getLogLevel()
Get the log level
|
String |
getPassword()
Get the password
|
String |
getSchemaName()
Get the schema name
|
String |
getSqlDialect()
Get the sql dialect
|
String |
getUsername()
Get the user name
|
boolean |
isLocalSource()
Check if the data source is the local Exasol instance
|
static boolean |
isRefreshingVirtualSchemaRequired(Map<String,String> changedProperties)
Check whether any of the given properties causes a refresh of the virtual schema
|
containsKey, entrySet, equals, get, hashCode, isEmpty, isEnabled, keySet, valuespublic static final String TABLE_FILTER_PROPERTY
public static final String CATALOG_NAME_PROPERTY
public static final String SCHEMA_NAME_PROPERTY
public static final String CONNECTION_NAME_PROPERTY
public static final String CONNECTION_STRING_PROPERTY
public static final String DEBUG_ADDRESS_PROPERTY
public static final String LOG_LEVEL_PROPERTY
public static final String SQL_DIALECT_PROPERTY
public static final String EXCLUDED_CAPABILITIES_PROPERTY
public static final String EXCEPTION_HANDLING_PROPERTY
public static final String IGNORE_ERRORS_PROPERTY
public static final String IS_LOCAL_PROPERTY
public static final String USERNAME_PROPERTY
public static final String PASSWORD_PROPERTY
public AdapterProperties(Map<String,String> properties)
AdapterPropertiesproperties - adapter propertiespublic String getCatalogName()
public String getSchemaName()
public String getConnectionName()
public String getConnectionString()
public String getUsername()
public String getPassword()
public String getDebugAddress()
public String getLogLevel()
public String getSqlDialect()
public String getExcludedCapabilities()
public String getExceptionHandling()
public List<String> getIgnoredErrors()
public List<String> getFilteredTables()
public static boolean isRefreshingVirtualSchemaRequired(Map<String,String> changedProperties)
changedProperties - map of properties that were changedtrue if any of the changes makes refreshing the virtual schema necessarypublic static AdapterProperties emptyProperties()
public boolean isLocalSource()
true if the data source and the database containing the Virtual Schema are hosted on the
same Exasol clusterCopyright © 2019. All rights reserved.