public abstract class AbstractPluginDatabase extends AbstractPluginTable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SEPARATOR
Default separator.
|
static String |
FEATURE_DATABASE
Feature for datasource names.
|
static String |
FEATURE_DATASOURCE
Feature for datasource names.
|
static String |
FEATURE_SCHEMA
Feature for schema name.
|
static String |
FEATURE_SEPARATOR
Feature for names separators.
|
scopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPluginDatabase(EMode mode)
A mode is required.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doEnd(IContext context,
IResultSet result,
TableAdapter tableAdapter) |
String |
getDatabase()
The database provider.
|
String |
getDatasource()
Gets the datasource name.
|
EMode |
getMode()
Get the plugin mode.
|
String |
getSchema()
Gets schema name.
|
String |
getSeparator()
Get the name separator.
|
void |
initialize(IContext context,
TableAdapter table) |
void |
setDatabase(String database)
Set the database instance.
|
void |
setDatasource(String datasource)
Set the database name.
|
void |
setMode(EMode mode)
Set the plugin mode.
|
void |
setSchema(String schema)
Sets the schema name.
|
void |
setSeparator(String separator)
Set the name separator.
|
doEnd, doStart, doStart, getTableAdapter, initialize, toStringgetScope, saveGlobal, saveLocal, saveStrict, setScopegetName, setNamecopy, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModelgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParametersgetActionTypepublic static final String FEATURE_SCHEMA
public static final String FEATURE_DATASOURCE
public static final String FEATURE_DATABASE
public static final String FEATURE_SEPARATOR
public static final String DEFAULT_SEPARATOR
protected AbstractPluginDatabase(EMode mode)
mode - A mode.public String getDatasource()
public void setDatasource(String datasource)
datasource - A new datasource name.public String getSchema()
public void setSchema(String schema)
schema - A new schema name.public String getDatabase()
public void setDatabase(String database)
database - The database.public String getSeparator()
public void setSeparator(String separator)
separator - The separator.public EMode getMode()
public void setMode(EMode mode)
mode - A new mode.public void initialize(IContext context, TableAdapter table) throws PluginException
initialize in class AbstractPluginTablePluginExceptionpublic void doEnd(IContext context, IResultSet result, TableAdapter tableAdapter) throws PluginException
doEnd in class AbstractPluginTablePluginExceptionCopyright © 2017. All rights reserved.