com.ibm.commerce.foundation.dataimport.preprocess.config

Class DataImportPreProcessConfig.DataProcessingConfig

  • java.lang.Object
    • com.ibm.commerce.foundation.dataimport.preprocess.config.DataImportPreProcessConfig.DataProcessingConfig
  • Enclosing class:
    DataImportPreProcessConfig


    public class DataImportPreProcessConfig.DataProcessingConfig
    extends java.lang.Object
    This class stores the data processing configuration such as: table name, table definition, full build sql, delte build sql, etc.
    • Constructor Detail

      • DataProcessingConfig

        public DataProcessingConfig()
    • Method Detail

      • getShardName

        public java.lang.String getShardName()
        Gets the Shard name.
        Returns:
        String The Shard name.
      • getPropertyMap

        public java.util.Map getPropertyMap()
        Gets the property map.
        Returns:
        Map The property map.
      • setPropertyMap

        public void setPropertyMap(java.util.Map properties)
        Sets the property map.
        Parameters:
        properties - The property map.
      • getProcessorClassName

        public java.lang.String getProcessorClassName()
        Returns the processor class name.
        Returns:
        The processor class name.
      • setProcessClassName

        public void setProcessClassName(java.lang.String className)
        Sets the processor class name.
        Parameters:
        className - The processor class name.
      • getMasterCatalogId

        public java.lang.Long getMasterCatalogId()
        Returns the masterCatalogId.
        Returns:
        The masterCatalogId.
      • setFetchSize

        public void setFetchSize(int fetchSize)
        Sets the fetch size for database operation.
        Parameters:
        fetchSize - The fetch size.
      • getFetchSize

        public int getFetchSize()
        Returns the fetch size of database operation.
        Returns:
        The fetch size.
      • setProperties

        public void setProperties(java.util.Properties properties)
        Sets the properties
        Parameters:
        properties -
      • getProperties

        public java.util.Properties getProperties()
        Returns the properties
        Returns:
        properties.
      • setIndexScopeTag

        public void setIndexScopeTag(java.lang.Long indexScopeTag)
        Sets the indexScopeTag
        Parameters:
        indexScopeTag -
      • getIndexScopeTag

        public java.lang.Long getIndexScopeTag()
        Returns the indexScopeTag
        Returns:
        indexScopeTag.
      • setBatchSize

        public void setBatchSize(java.lang.Long batchSize)
        Sets the batch size for database operation.
        Parameters:
        batchSize - The batch size.
      • getBatchSize

        public java.lang.Long getBatchSize()
        Returns the batch size of database operation.
        Returns:
        The batch size.
      • setMasterCatalogId

        public void setMasterCatalogId(java.lang.Long aMasterCatalogId)
        Sets the master catalog Id.
        Parameters:
        aMasterCatalogId - The master catalog Id.
      • getTableName

        public java.lang.String getTableName()
        Returns the table name.
        Returns:
        The table name.
      • setTableName

        public void setTableName(java.lang.String name)
        Sets the table name.
        Parameters:
        name - The table name.
      • getTableDefinition

        public java.lang.String getTableDefinition()
        Returns the table definition.
        Returns:
        The table definition.
      • setTableDefinition

        public void setTableDefinition(java.lang.String definition)
        Sets the table definition.
        Parameters:
        definition - The table definition.
      • getIndexName

        public java.lang.String getIndexName()
        Returns the index name.
        Returns:
        The index name.
      • setIndexName

        public void setIndexName(java.lang.String name)
        Sets the index name.
        Parameters:
        name - The index name.
      • getIndexDefinition

        public java.lang.String getIndexDefinition()
        Returns the index definition.
        Returns:
        The index definition.
      • setIndexDefinition

        public void setIndexDefinition(java.lang.String definition)
        Sets the index definition.
        Parameters:
        definition - The index definition.
      • getSQL

        public java.lang.String getSQL()
        Returns the sql statement for the index build.
        Returns:
        The sql statement for the index build.
      • setSQL

        public void setSQL(java.lang.String sql)
        Sets the sql statement for the index build.
        Parameters:
        sql - The sql statement for the index build.
      • getDeltaSQL

        public java.lang.String getDeltaSQL()
        Returns the delta sql statement for the index build.
        Returns:
        The delta sql statement for the index build.
      • setDeltaSQL

        public void setDeltaSQL(java.lang.String sql)
        Sets the delta sql statement for the index build.
        Parameters:
        sql - The delta sql statement for the index build.
      • getFileName

        public java.lang.String getFileName()
        Returns the configuration file name of this object represented for.
        Returns:
        The name of the configuration file.
      • getEnabled

        public java.lang.Boolean getEnabled()
        Returns the enabled flag.
        Returns:
        Boolean
      • setEnabled

        public void setEnabled(java.lang.Boolean enabled)
        Sets the enabled flag.
        Parameters:
        enabled - The enabled flag.
      • setEnvironmentProperties

        public void setEnvironmentProperties(com.ibm.commerce.foundation.dataimport.util.DataImportEnvironmentProperty prop)
        Set the set environment properties object
        Parameters:
        prop -
      • getEnvironmentPropertyValue

        public java.lang.Object getEnvironmentPropertyValue(java.lang.String property)
        Parameters:
        property - The environment property name
        Returns:
        The specificed environment property value