public class DataLoader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DataSet |
dataSet |
protected boolean |
isDataSet1 |
protected ReconInfo |
reconInfo |
Constructor and Description |
---|
DataLoader(ReconInfo reconInfo,
DataSet dataSet) |
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) |
protected ReconInfo reconInfo
protected DataSet dataSet
protected boolean isDataSet1
protected java.lang.String buildUniqueKey(java.lang.String string1, java.lang.String string2)
string1
- The first string from which to construct a keystring2
- The second string from which to construct a keyprotected java.lang.String buildUniqueKey(java.lang.String[] keys)
protected java.lang.String[] toStringArray(java.util.Collection collection)
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
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.java.rmi.RemoteException
MXException
java.sql.SQLException
protected void attachSpecValues(java.lang.String objectName, java.util.List specAttributes, java.util.Map specCache, ReconValueSet values) throws MXException, java.rmi.RemoteException
objectName
- - the name of the data set.specAttributes
- - the spec attributes.specCache
- - the cache of spec data.values
- - the set of regular data.MXException
java.rmi.RemoteException