Class YamlDataSet

All Implemented Interfaces:
IDataSet, IDataSetConsumer

public class YamlDataSet extends CachedDataSet
Reads and writes flat YAML-based dataset documents. Contrary to the flat XML layout, columns are calculated by parsing the entire data set, not just the first row.

The format looks like this:
 <table_name>:
   - <column>: <value>
     <column>: <value>
             ...
   - <column>: <value>
     <column>: <value>
             ...
        ...
    ...
 

I.e.:
 TEST_TABLE:
   - COL0: "row 0 col 0"
     COL1: "row 0 col 1"
     COL2: "row 0 col 2"
   - COL1: "row 1 col 1"
 SECOND_TABLE:
   - COL0: "row 0 col 0"
     COL1: "row 0 col 1"
 EMPTY_TABLE: []
 
Version:
$Revision$ $Date$
Author:
Björn Beskow