public class PluginSchema extends AbstractPluginValue
| Modifier and Type | Class and Description |
|---|---|
class |
PluginSchema.SchemaReusable
Reusable schema.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SCHEMA_NAME
Default schema name.
|
static String |
FEATURE_PROVIDER_INSTANCE
Provider instance feature.
|
static String |
FEATURE_REUSE
Default connection setting for reuse.
|
static String |
FEATURE_SOURCE
Schema source feature.
|
eval, valuescopenameFEATURE_CONDITION, FEATURE_NORMALIZED, FEATURE_NORMALIZER, FEATURE_SLEEP, FEATURE_THREADSAFE, FEATURE_TIMEOUT, FEATURE_WAITparameters| Constructor and Description |
|---|
PluginSchema() |
| Modifier and Type | Method and Description |
|---|---|
ENext |
doStart(IContext context,
IResultSet result) |
ActionType |
getActionType() |
Boolean |
getReuse()
Gets the reuse status.
|
static Schema |
getSchema(IContext context,
String name)
Gets the schema set in environment with the given name.
|
Object |
getSource()
The schema source.
|
void |
initialize(IContext context) |
void |
setReuse(Boolean reuse)
Set reusable state.
|
void |
setSource(Object source)
Set the schema source.
|
getValue, getValue, isEval, setEval, setValuegetScope, saveGlobal, saveLocal, saveStrict, setScopegetName, setNamecopy, doEnd, getCondition, getConditionModel, getNormalized, getNormalized, getNormalizer, getParent, getSleep, getSleepModel, getThreadsafe, getTimeout, getTimeoutModel, getWait, getWaitModel, setCondition, setConditionModel, setNormalized, setNormalizer, setParent, setSleep, setSleepModel, setThreadsafe, setTimeout, setTimeoutModel, setWait, setWaitModel, toStringgetParameters, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameters, setParameterspublic static final String DEFAULT_SCHEMA_NAME
public static final String FEATURE_PROVIDER_INSTANCE
public static final String FEATURE_SOURCE
public static final String FEATURE_REUSE
public Object getSource()
public void setSource(Object source)
source - A new source.public Boolean getReuse()
public void setReuse(Boolean reuse)
reuse - true, for reuse, false, otherwise.public ActionType getActionType()
public void initialize(IContext context) throws PluginException
initialize in interface IPlugininitialize in class AbstractPluginPluginExceptionpublic ENext doStart(IContext context, IResultSet result) throws PluginException
doStart in interface IPlugindoStart in class AbstractPluginPluginExceptionpublic static Schema getSchema(IContext context, String name) throws PluginException
context - The text context.name - The database name.PluginException - On lookup errors.Copyright © 2017. All rights reserved.