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 property list
|
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 |
hasCatalogName()
Check if the catalog name property is set
|
boolean |
hasConnectionName()
Check if the connection name property is set
|
boolean |
hasConnectionString()
Check if the connection string property is set
|
boolean |
hasDebugAddress()
Check if the debug address property is set
|
boolean |
hasExceptionHandling()
Check if the exception handling property is set
|
boolean |
hasExcludedCapabilities()
Check if the excluded capabilities property is set
|
boolean |
hasIgnoreErrors()
Check if the ignore errors property is set
|
boolean |
hasLogLevel()
Check if the log level property is set
|
boolean |
hasPassword()
Check if the password property is set
|
boolean |
hasSchemaName()
Check if the schema name property is set
|
boolean |
hasSqlDialect()
Check if the SQL dialect property is set
|
boolean |
hasTableFilter()
Check if the table filter property is set
|
boolean |
hasUsername()
Check if the username property is set
|
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 boolean isLocalSource()
true if the data source and the database containing the Virtual Schema are hosted on the
same Exasol clusterpublic boolean hasUsername()
true if username property is setpublic boolean hasPassword()
true if password property is setpublic boolean hasConnectionString()
true if connection string property is setpublic boolean hasTableFilter()
true if table filter property is setpublic boolean hasCatalogName()
true if catalog name property is setpublic boolean hasSchemaName()
true if schema name property is setpublic boolean hasConnectionName()
true if connection name property is setpublic boolean hasDebugAddress()
true if debug address property is setpublic boolean hasLogLevel()
true if log level property is setpublic boolean hasSqlDialect()
true if SQL dialect property is setpublic boolean hasExcludedCapabilities()
true if excluded capabilities property is setpublic boolean hasExceptionHandling()
true if exception handling property is setpublic boolean hasIgnoreErrors()
true if ignore errors property is setpublic static AdapterProperties emptyProperties()
Copyright © 2019. All rights reserved.