psdi.app.recontask.engine.load

Class LinkDataLoader



  • public class LinkDataLoader
    extends DataLoader
    Class is used to load the reconValueSet for a DataSet. The class optionally accepts a TaskFilter clause to retrieve a subset of the reconValueSet for a DataSet.
    • Field Detail

      • attributes

        protected java.util.List attributes
      • specAttributes

        protected java.util.List specAttributes
    • Constructor Detail

    • Method Detail

      • setTaskFilter

        public void setTaskFilter(TaskFilter taskFilter)
        Sets the task filter.
        Parameters:
        taskFilter - the taskFilter to set
      • load

        public void load()
                  throws java.rmi.RemoteException,
                         MXException,
                         java.sql.SQLException
        Loads the reconValueSet for the reconValueSet set being used.
        Throws:
        java.rmi.RemoteException
        MXException
        java.sql.SQLException
      • loadData

        protected void loadData()
                         throws java.rmi.RemoteException,
                                MXException,
                                java.sql.SQLException
        Method loads data based on metadata previously loaded. It loads data for DataSet1 and DataSet2.
        Throws:
        java.rmi.RemoteException
        MXException
        java.sql.SQLException
      • buildSQL

        protected java.lang.String buildSQL()
                                     throws java.rmi.RemoteException,
                                            MXException,
                                            java.sql.SQLException
        Throws:
        java.rmi.RemoteException
        MXException
        java.sql.SQLException
      • getSpecWhereClause

        protected java.lang.String getSpecWhereClause()
                                               throws MXException,
                                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setAttributes

        public void setAttributes(java.util.List attributes)
        Adds attributes.
        Parameters:
        attributes - the attributes to set
      • setSpecAttributes

        public void setSpecAttributes(java.util.List specAttributes)
        Adds specs attributes.
        Parameters:
        specAttributes - the specAttributes to set
      • getReconValueSet

        public ReconValueSet getReconValueSet()
        Returns the loaded attributes and spec attributes.
        Returns:
        the reconValueSet