Package com.ibm.di.config.interfaces
Interface PropertyStoreConfig
-
- All Superinterfaces:
BaseConfiguration,java.io.Serializable
- All Known Implementing Classes:
PropertyStoreConfigImpl
public interface PropertyStoreConfig extends BaseConfiguration
The configuration for a single Property Store.
-
-
Field Summary
-
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCacheTimeout()Returns the cache timeout for in-memory properties (0 == never cache)RawConnectorConfiggetConnectionConfig()Connection parametersbooleangetInitialLoad()Returns true if the property data store is read into memory on creationjava.lang.StringgetKeyAttribute()Returns the attribute name used as key in the connectorjava.lang.StringgetNameFilters()Property name filtersParserConfiggetParserConfig()Associated Parser configurationbooleangetReadOnly()Returns true if store is read-onlyjava.lang.StringgetValueAttribute()Returns the attribute name used as value in the connectorvoidsetCacheTimeout(int timeout)Sets the timeout in seconds before a property is considered stale.voidsetInitialLoad(boolean load)Sets the initial load flag (true to load data source into memory)voidsetKeyAttribute(java.lang.String attrname)Sets the attribute name to use as property key in the connectorvoidsetNameFilters(java.lang.String filters)Property name filtersvoidsetReadOnly(boolean readonly)Returns true if store is read-onlyvoidsetValueAttribute(java.lang.String attrname)Sets the attribute name to use for the value in the connector-
Methods inherited from interface com.ibm.di.config.interfaces.BaseConfiguration
addListener, detachFromParent, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterRaw, getParent, getPath, getReferences, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFrom, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
-
-
-
-
Method Detail
-
getConnectionConfig
RawConnectorConfig getConnectionConfig()
Connection parameters- Returns:
- The connectionConfig value
-
getParserConfig
ParserConfig getParserConfig()
Associated Parser configuration- Returns:
- The parserConfig value
-
getNameFilters
java.lang.String getNameFilters()
Property name filters
-
setNameFilters
void setNameFilters(java.lang.String filters)
Property name filters
-
getReadOnly
boolean getReadOnly()
Returns true if store is read-only
-
setReadOnly
void setReadOnly(boolean readonly)
Returns true if store is read-only
-
getKeyAttribute
java.lang.String getKeyAttribute()
Returns the attribute name used as key in the connector
-
setKeyAttribute
void setKeyAttribute(java.lang.String attrname)
Sets the attribute name to use as property key in the connector
-
getValueAttribute
java.lang.String getValueAttribute()
Returns the attribute name used as value in the connector
-
setValueAttribute
void setValueAttribute(java.lang.String attrname)
Sets the attribute name to use for the value in the connector
-
getCacheTimeout
int getCacheTimeout()
Returns the cache timeout for in-memory properties (0 == never cache)
-
setCacheTimeout
void setCacheTimeout(int timeout)
Sets the timeout in seconds before a property is considered stale.
-
getInitialLoad
boolean getInitialLoad()
Returns true if the property data store is read into memory on creation
-
setInitialLoad
void setInitialLoad(boolean load)
Sets the initial load flag (true to load data source into memory)
-
-