record.appendField(new Field(new Integer(2)));
dataStore.appendRecord(record);
IDataStoreTransformer transformer = new PivotDataSetTransformer("SER", "VAL", "X", false);
transformer.transform(dataStore);
System.out.println(dataStore.toXml());
}
/**
* @return the numRows