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" ) ); } |
|
|
Recent comments
3 hours 32 min ago
3 hours 39 min ago
5 hours 46 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 2 hours ago
1 day 2 hours ago
1 day 2 hours ago
1 day 2 hours ago
2 days 23 hours ago