public class JdbcMetadataSourceProvider extends SourceProvider
| Constructor and Description |
|---|
JdbcMetadataSourceProvider(String urlOption,
String driverOption,
String usernameOption,
String passwordOption,
String schemaOption) |
| Modifier and Type | Method and Description |
|---|---|
SourceProvider |
copy()
Returns a copy of this source provider in its initial state.
|
void |
copyNotSetSettingsFrom(SourceProvider sourceProvider)
Copies settings which are not set in this source provider from another
source provider.
|
String |
getDriver() |
String |
getDriverOption() |
String |
getPassword() |
String |
getPasswordOption() |
String |
getSchema() |
String |
getSchemaOption() |
String |
getUrl() |
String |
getUrlOption() |
String |
getUsername() |
String |
getUsernameOption() |
boolean |
hasNext() |
void |
initInternal(ConfigurationHandlers configurationHandlers,
ControllerState controllerState)
Initializes the sources provided by this SourceProvider.
|
Source |
next() |
void |
remove() |
protected void |
resetInternal(ConfigurationHandlers configurationHandlers,
ControllerState controllerState)
Resets the sources provided by this SourceProvider.
|
init, isInit, resetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic JdbcMetadataSourceProvider(String urlOption, String driverOption, String usernameOption, String passwordOption, String schemaOption) throws ConfigurationException
ConfigurationExceptionpublic void initInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState) throws ConfigurationException
SourceProviderinitInternal in class SourceProviderconfigurationHandlers - the configuration handlers, not null.controllerState - the current controller state, not null.ConfigurationException - if initializing fails.public boolean hasNext()
public Source next()
protected void resetInternal(ConfigurationHandlers configurationHandlers, ControllerState controllerState) throws ConfigurationException
SourceProviderresetInternal in class SourceProviderconfigurationHandlers - the configuration handlers, not null.controllerState - the current controller state, not null.ConfigurationException - if resetting fails.public void remove()
public String getUrlOption()
public String getDriverOption()
public String getUsernameOption()
public String getPasswordOption()
public String getSchemaOption()
public String getUrl()
public String getDriver()
public String getUsername()
public String getPassword()
public String getSchema()
public SourceProvider copy() throws ConfigurationException
SourceProvider.init(ConfigurationHandlers, ControllerState)
method of the new source provider must be called before it can be used.copy in class SourceProviderConfigurationException - if the new SourceProvider cannot
be initialized.public void copyNotSetSettingsFrom(SourceProvider sourceProvider)
copyNotSetSettingsFrom in class SourceProvidersourceProvider - the source provoder to copy the settings from.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.