Package com.ibm.di.config.base
Class DeltaConfigImpl
- java.lang.Object
-
- com.ibm.di.config.base.BaseConfigurationImpl
-
- com.ibm.di.config.base.DeltaConfigImpl
-
- All Implemented Interfaces:
BaseConfiguration,DeltaConfig,MetamergeConfigChangeListener,java.io.Serializable
public class DeltaConfigImpl extends BaseConfigurationImpl implements DeltaConfig
Implements a Delta Configuration, which is used by Connectors in Iterator mode.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl
NAME
-
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
-
-
Constructor Summary
Constructors Constructor Description DeltaConfigImpl()DeltaConfigImpl(java.lang.Object config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAllowDuplicateDeltaKeys()java.lang.StringgetAttributeList()java.lang.StringgetChangeDetectionMode()java.lang.StringgetDeltaDB()Returns delta db file nameintgetDeltaLevel()java.lang.StringgetDriver()booleangetFastAlgorithm()booleangetIterateDeleted()Returns true if Iterate Deleted flag is setbooleangetRemoveDeleted()Returns true if Remove Deleted flag is setbooleangetReturnUnchanged()Returns true if returnUnchanged flag is setjava.lang.StringgetRowLocking()java.lang.StringgetUniqueAttribute()java.lang.StringgetWhenToCommit()Returns when to commit delta configuration parametervoidsetAllowDuplicateDeltaKeys(boolean value)Sets the allowDuplicateKeys flagvoidsetAttributeList(java.lang.String value)Sets the list with attributes whose changes will be detected or ignored during compute changes process.voidsetChangeDetectionMode(java.lang.String value)Sets the change detection mode.voidsetDeltaDB(java.lang.String deltaDB)Sets the delta db file namevoidsetDeltaLevel(int level)voidsetDriver(java.lang.String driver)Sets the driver to use for backend storage.voidsetFastAlgorithm(boolean value)Sets the fastAlgorithm flagvoidsetInheritsFrom(BaseConfiguration inheritFrom)We override this method to change the inherited object if we inherit from a connector.voidsetIterateDeleted(boolean iterateDeleted)Sets the Iterate Delted flagvoidsetRemoveDeleted(boolean removeDeleted)Sets the Remove Deleted flagvoidsetReturnUnchanged(boolean returnUnchanged)Sets the returnUnchanged flagvoidsetRowLocking(java.lang.String value)Sets the transaction isolation level.voidsetUniqueAttribute(java.lang.String attrName)Sets the attribute name used as unique keyvoidsetWhenToCommit(java.lang.String value)Sets when to commit delta configuration parameter-
Methods inherited from class com.ibm.di.config.base.BaseConfigurationImpl
addListener, configurationChanged, deepClone, detachFromParent, expandPropertyValue, expandPropertyValue, flatten, fromEntry, getBooleanParameter, getChild, getChildForPath, getChildNames, getClone, getData, getDataIterator, getDebug, getDebug, getDebugBreak, getEnabled, getFlags, getInheritsFrom, getInheritsFromRef, getIntegerParameter, getKeys, getLogEnabled, getLongName, getMetamergeConfig, getModified, getModTS, getName, getNamespace, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParameter, getParameter, getParameter, getParameterPropertySource, getParameterPropertySourceFromValue, getParameterRaw, getParent, getParentName, getPath, getReferences, getResHash, getScript, getScriptEngine, getShortName, getStringParameter, getSubstitutionMap, getUseConfigListeners, getUseListeners, getUserComment, hasParameter, init, isExpression, isParameterLocal, isProtectedParameter, nameForChild, notifyChange, notifyChange, notifyChange, performNotifyChange, reattachToParent, removeListener, removeParameter, search, search, setBooleanParameter, setChild, setData, setDebug, setDebugBreak, setEnabled, setFlags, setInheritsFromRef, setIntegerParameter, setLogEnabled, setMetamergeConfig, setModified, setModTS, setName, setName, setNullBehavior, setNullBehaviorValue, setNullDefinition, setNullDefinitionValue, setParameter, setParameter, setParameterPropertySource, setParent, setProtectedParameter, setProtectedParameter, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseConfigListeners, setUseListeners, setUserComment, size, toEntry, toString, updateInheritsFrom, willExpandProps, willFlatten, willUseInherited
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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, 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
-
getUniqueAttribute
public java.lang.String getUniqueAttribute()
- Specified by:
getUniqueAttributein interfaceDeltaConfig
-
setUniqueAttribute
public void setUniqueAttribute(java.lang.String attrName)
Description copied from interface:DeltaConfigSets the attribute name used as unique key- Specified by:
setUniqueAttributein interfaceDeltaConfig
-
getDeltaDB
public java.lang.String getDeltaDB()
Returns delta db file name- Specified by:
getDeltaDBin interfaceDeltaConfig
-
setDeltaDB
public void setDeltaDB(java.lang.String deltaDB)
Sets the delta db file name- Specified by:
setDeltaDBin interfaceDeltaConfig
-
getIterateDeleted
public boolean getIterateDeleted()
Returns true if Iterate Deleted flag is set- Specified by:
getIterateDeletedin interfaceDeltaConfig
-
setIterateDeleted
public void setIterateDeleted(boolean iterateDeleted)
Sets the Iterate Delted flag- Specified by:
setIterateDeletedin interfaceDeltaConfig
-
getRemoveDeleted
public boolean getRemoveDeleted()
Returns true if Remove Deleted flag is set- Specified by:
getRemoveDeletedin interfaceDeltaConfig
-
setRemoveDeleted
public void setRemoveDeleted(boolean removeDeleted)
Sets the Remove Deleted flag- Specified by:
setRemoveDeletedin interfaceDeltaConfig
-
getReturnUnchanged
public boolean getReturnUnchanged()
Returns true if returnUnchanged flag is set- Specified by:
getReturnUnchangedin interfaceDeltaConfig
-
setReturnUnchanged
public void setReturnUnchanged(boolean returnUnchanged)
Sets the returnUnchanged flag- Specified by:
setReturnUnchangedin interfaceDeltaConfig
-
setInheritsFrom
public void setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector.- Specified by:
setInheritsFromin interfaceBaseConfiguration- Overrides:
setInheritsFromin classBaseConfigurationImpl- Parameters:
inheritFrom- The new inheritsFrom value.
-
getDriver
public java.lang.String getDriver()
- Specified by:
getDriverin interfaceDeltaConfig
-
setDriver
public void setDriver(java.lang.String driver)
Description copied from interface:DeltaConfigSets the driver to use for backend storage.- Specified by:
setDriverin interfaceDeltaConfig- Parameters:
driver- The driver to use. Currently specify the following for Derby: CloudScape
-
getDeltaLevel
public int getDeltaLevel()
- Specified by:
getDeltaLevelin interfaceDeltaConfig
-
setDeltaLevel
public void setDeltaLevel(int level)
- Specified by:
setDeltaLevelin interfaceDeltaConfig
-
getWhenToCommit
public java.lang.String getWhenToCommit()
Returns when to commit delta configuration parameter- Specified by:
getWhenToCommitin interfaceDeltaConfig
-
setWhenToCommit
public void setWhenToCommit(java.lang.String value)
Sets when to commit delta configuration parameter- Specified by:
setWhenToCommitin interfaceDeltaConfig
-
getFastAlgorithm
public boolean getFastAlgorithm()
- Specified by:
getFastAlgorithmin interfaceDeltaConfig
-
setFastAlgorithm
public void setFastAlgorithm(boolean value)
Description copied from interface:DeltaConfigSets the fastAlgorithm flag- Specified by:
setFastAlgorithmin interfaceDeltaConfig
-
getAllowDuplicateDeltaKeys
public boolean getAllowDuplicateDeltaKeys()
- Specified by:
getAllowDuplicateDeltaKeysin interfaceDeltaConfig
-
setAllowDuplicateDeltaKeys
public void setAllowDuplicateDeltaKeys(boolean value)
Sets the allowDuplicateKeys flag- Specified by:
setAllowDuplicateDeltaKeysin interfaceDeltaConfig
-
getRowLocking
public java.lang.String getRowLocking()
- Specified by:
getRowLockingin interfaceDeltaConfig
-
setRowLocking
public void setRowLocking(java.lang.String value)
Sets the transaction isolation level.- Specified by:
setRowLockingin interfaceDeltaConfig
-
getAttributeList
public java.lang.String getAttributeList()
- Specified by:
getAttributeListin interfaceDeltaConfig
-
setAttributeList
public void setAttributeList(java.lang.String value)
Sets the list with attributes whose changes will be detected or ignored during compute changes process.- Specified by:
setAttributeListin interfaceDeltaConfig
-
getChangeDetectionMode
public java.lang.String getChangeDetectionMode()
- Specified by:
getChangeDetectionModein interfaceDeltaConfig
-
setChangeDetectionMode
public void setChangeDetectionMode(java.lang.String value)
Sets the change detection mode.- Specified by:
setChangeDetectionModein interfaceDeltaConfig
-
-