psdi.app.recontask.engine.load

Class DataLoader

  • java.lang.Object
    • psdi.app.recontask.engine.load.DataLoader
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected void attachSpecValues(java.lang.String objectName, java.util.List specAttributes, java.util.Map specCache, ReconValueSet values)
      Attaches spec values.
      protected java.lang.String buildUniqueKey(java.lang.String[] keys)
      Constructs a unique key (identifier) from the given strings.
      protected java.lang.String buildUniqueKey(java.lang.String string1, java.lang.String string2)
      Constructs a unique key (identifier) from the given strings.
      protected void loadSpecs(java.lang.String objectName, java.util.List specAttributes, java.lang.String whereClause, java.util.Map specCache)
      Loads specs for a particular data set.
      protected java.lang.String[] toStringArray(java.util.Collection collection) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • dataSet

        protected DataSet dataSet
      • isDataSet1

        protected boolean isDataSet1
    • Constructor Detail

    • Method Detail

      • buildUniqueKey

        protected java.lang.String buildUniqueKey(java.lang.String string1,
                                                  java.lang.String string2)
        Constructs a unique key (identifier) from the given strings.
        Parameters:
        string1 - The first string from which to construct a key
        string2 - The second string from which to construct a key
        Returns:
        String The generated key in format .
      • buildUniqueKey

        protected java.lang.String buildUniqueKey(java.lang.String[] keys)
        Constructs a unique key (identifier) from the given strings.
      • toStringArray

        protected java.lang.String[] toStringArray(java.util.Collection collection)
      • loadSpecs

        protected void loadSpecs(java.lang.String objectName,
                                 java.util.List specAttributes,
                                 java.lang.String whereClause,
                                 java.util.Map specCache)
                          throws java.rmi.RemoteException,
                                 MXException,
                                 java.sql.SQLException
        Loads specs for a particular data set.
        Parameters:
        objectName - - the name of the data set.
        specAttributes - - the spec attributes to load data for.
        whereClause - - the filter on the number of rows returned.
        specCache - - data is stored to this object.
        Throws:
        java.rmi.RemoteException
        MXException
        java.sql.SQLException
      • attachSpecValues

        protected void attachSpecValues(java.lang.String objectName,
                                        java.util.List specAttributes,
                                        java.util.Map specCache,
                                        ReconValueSet values)
                                 throws MXException,
                                        java.rmi.RemoteException
        Attaches spec values.
        Parameters:
        objectName - - the name of the data set.
        specAttributes - - the spec attributes.
        specCache - - the cache of spec data.
        values - - the set of regular data.
        Throws:
        MXException
        java.rmi.RemoteException