@author bfoster
@version $Revision$
A fairly robust SQL parser, based on the Shunting yard algorithm
Evaluates SQL like string statements contained in a string. The SQL statement should be enclosed within: SQL ( {@literal }) { {@literal } . the {@literal } canbe either FORMAT, SORT_BY, or FILTER. Syntax: SQL (FORMAT='',SORT_BY='', FILTER=', , , ') { SELECT FROM WHERE } Here is an example SQL statement: SQL (FORMAT='FileLocation/Filename', SORT_BY='FileSize',FILTER== '2007-12-01T00:00:00.000000Z' } This example would query the cas-filemgr for metadata values: FileLocation,Filename,FileSize for any data file where the ProductType== IASI_L1C and the ProductionDateTime >= 2007-12-01T00:00:00.000000Z. It would then combine the return data files metadata via the specified FORMAT. Each data file's metadata will be formated to a string representation of (with the actual values replaced in the location of the metadata keys): FileLocation/Filename. They will be concatenated together, in FileSize order.