com.ibm.di.config.base
Class DeltaConfigImpl

java.lang.Object
  extended by com.ibm.di.config.base.BaseConfigurationImpl
      extended by com.ibm.di.config.base.DeltaConfigImpl
All Implemented Interfaces:
BaseConfiguration, DeltaConfig, MetamergeConfigChangeListener, 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
DeltaConfigImpl()
           
DeltaConfigImpl(Object config)
           
 
Method Summary
 boolean getAllowDuplicateDeltaKeys()
          
 String getAttributeList()
          
 String getChangeDetectionMode()
          
 String getDeltaDB()
          Returns delta db file name
 int getDeltaLevel()
           
 String getDriver()
           
 boolean getFastAlgorithm()
           
 boolean getIterateDeleted()
          Returns true if Iterate Deleted flag is set
 boolean getRemoveDeleted()
          Returns true if Remove Deleted flag is set
 boolean getReturnUnchanged()
          Returns true if returnUnchanged flag is set
 String getRowLocking()
          
 String getUniqueAttribute()
           
 String getWhenToCommit()
          Returns when to commit delta configuration parameter
 void setAllowDuplicateDeltaKeys(boolean value)
          Sets the allowDuplicateKeys flag
 void setAttributeList(String value)
          Sets the list with attributes whose changes will be detected or ignored during compute changes process.
 void setChangeDetectionMode(String value)
          Sets the change detection mode.
 void setDeltaDB(String deltaDB)
          Sets the delta db file name
 void setDeltaLevel(int level)
           
 void setDriver(String driver)
          Sets the driver to use for backend storage.
 void setFastAlgorithm(boolean value)
          Sets the fastAlgorithm flag
 void setInheritsFrom(BaseConfiguration inheritFrom)
          We override this method to change the inherited object if we inherit from a connector.
 void setIterateDeleted(boolean iterateDeleted)
          Sets the Iterate Delted flag
 void setRemoveDeleted(boolean removeDeleted)
          Sets the Remove Deleted flag
 void setReturnUnchanged(boolean returnUnchanged)
          Sets the returnUnchanged flag
 void setRowLocking(String value)
          Sets the transaction isolation level.
 void setUniqueAttribute(String attrName)
          Sets the attribute name used as unique key
 void setWhenToCommit(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, 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, 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, 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, setScript, setScriptEngine, setStringParameter, setSubstitutionMap, setupInheritanceChain, setUseListeners, setUserComment, size, toEntry, updateInheritsFrom, willFlatten
 

Constructor Detail

DeltaConfigImpl

public DeltaConfigImpl()

DeltaConfigImpl

public DeltaConfigImpl(Object config)
Method Detail

getUniqueAttribute

public String getUniqueAttribute()
Specified by:
getUniqueAttribute in interface DeltaConfig

setUniqueAttribute

public void setUniqueAttribute(String attrName)
Description copied from interface: DeltaConfig
Sets the attribute name used as unique key

Specified by:
setUniqueAttribute in interface DeltaConfig

getDeltaDB

public String getDeltaDB()
Returns delta db file name

Specified by:
getDeltaDB in interface DeltaConfig

setDeltaDB

public void setDeltaDB(String deltaDB)
Sets the delta db file name

Specified by:
setDeltaDB in interface DeltaConfig

getIterateDeleted

public boolean getIterateDeleted()
Returns true if Iterate Deleted flag is set

Specified by:
getIterateDeleted in interface DeltaConfig

setIterateDeleted

public void setIterateDeleted(boolean iterateDeleted)
Sets the Iterate Delted flag

Specified by:
setIterateDeleted in interface DeltaConfig

getRemoveDeleted

public boolean getRemoveDeleted()
Returns true if Remove Deleted flag is set

Specified by:
getRemoveDeleted in interface DeltaConfig

setRemoveDeleted

public void setRemoveDeleted(boolean removeDeleted)
Sets the Remove Deleted flag

Specified by:
setRemoveDeleted in interface DeltaConfig

getReturnUnchanged

public boolean getReturnUnchanged()
Returns true if returnUnchanged flag is set

Specified by:
getReturnUnchanged in interface DeltaConfig

setReturnUnchanged

public void setReturnUnchanged(boolean returnUnchanged)
Sets the returnUnchanged flag

Specified by:
setReturnUnchanged in interface DeltaConfig

setInheritsFrom

public void setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector.

Specified by:
setInheritsFrom in interface BaseConfiguration
Overrides:
setInheritsFrom in class BaseConfigurationImpl
Parameters:
inheritFrom - The new inheritsFrom value.

getDriver

public String getDriver()
Specified by:
getDriver in interface DeltaConfig

setDriver

public void setDriver(String driver)
Description copied from interface: DeltaConfig
Sets the driver to use for backend storage.

Specified by:
setDriver in interface DeltaConfig
Parameters:
driver - The driver to use. Currently specify the following for Derby: CloudScape

getDeltaLevel

public int getDeltaLevel()
Specified by:
getDeltaLevel in interface DeltaConfig

setDeltaLevel

public void setDeltaLevel(int level)
Specified by:
setDeltaLevel in interface DeltaConfig

getWhenToCommit

public String getWhenToCommit()
Returns when to commit delta configuration parameter

Specified by:
getWhenToCommit in interface DeltaConfig

setWhenToCommit

public void setWhenToCommit(String value)
Sets when to commit delta configuration parameter

Specified by:
setWhenToCommit in interface DeltaConfig

getFastAlgorithm

public boolean getFastAlgorithm()
Specified by:
getFastAlgorithm in interface DeltaConfig

setFastAlgorithm

public void setFastAlgorithm(boolean value)
Description copied from interface: DeltaConfig
Sets the fastAlgorithm flag

Specified by:
setFastAlgorithm in interface DeltaConfig

getAllowDuplicateDeltaKeys

public boolean getAllowDuplicateDeltaKeys()

Specified by:
getAllowDuplicateDeltaKeys in interface DeltaConfig

setAllowDuplicateDeltaKeys

public void setAllowDuplicateDeltaKeys(boolean value)
Sets the allowDuplicateKeys flag

Specified by:
setAllowDuplicateDeltaKeys in interface DeltaConfig

getRowLocking

public String getRowLocking()

Specified by:
getRowLocking in interface DeltaConfig

setRowLocking

public void setRowLocking(String value)
Sets the transaction isolation level.

Specified by:
setRowLocking in interface DeltaConfig

getAttributeList

public String getAttributeList()

Specified by:
getAttributeList in interface DeltaConfig

setAttributeList

public void setAttributeList(String value)
Sets the list with attributes whose changes will be detected or ignored during compute changes process.

Specified by:
setAttributeList in interface DeltaConfig

getChangeDetectionMode

public String getChangeDetectionMode()

Specified by:
getChangeDetectionMode in interface DeltaConfig

setChangeDetectionMode

public void setChangeDetectionMode(String value)
Sets the change detection mode.

Specified by:
setChangeDetectionMode in interface DeltaConfig