getAllDataRecords

dataSet.getAllDataRecords()
Description
Returns an ArrayList of DataRecord objects (which simply extends Hashtable). This method is provided as a convenience, but the recommended way to iterate over data records in a data set is shown in the getNumDataRecords method documentation.
Example
// Stores all of the data records in the variable allData.
allData = dataSet.getAllDataRecords();

// Loop through each of the data records.
for( i = 0; i < allData.size(); i++ )
{
// Store the current data record in the variable myDataRecord.
 myDataRecord = allData.get( i );

// Output the "PRODUCT_NAME" value from the data record to the log.
 session.log( "Product name: " + myDataRecord.get( "PRODUCT_NAME" ) );
}