Properties properties = new Properties();
AppProps.setApplicationJarClass( properties, Main.class );
HadoopFlowConnector flowConnector = new HadoopFlowConnector( properties );
// create taps for sources, sinks, traps
Tap gisTap = new Hfs( new TextLine( new Fields( "line" ) ), gisPath );
Tap metaTreeTap = new Hfs( new TextDelimited( true, "\t" ), metaTreePath );
Tap metaRoadTap = new Hfs( new TextDelimited( true, "\t" ), metaRoadPath );
Tap logsTap = new Hfs( new TextDelimited( true, "," ), logsPath );
Tap trapTap = new Hfs( new TextDelimited( true, "\t" ), trapPath );
Tap tsvTap = new Hfs( new TextDelimited( true, "\t" ), tsvPath );
Tap treeTap = new Hfs( new TextDelimited( true, "\t" ), treePath );
Tap roadTap = new Hfs( new TextDelimited( true, "\t" ), roadPath );
Tap parkTap = new Hfs( new TextDelimited( true, "\t" ), parkPath );
Tap shadeTap = new Hfs( new TextDelimited( true, "\t" ), shadePath );
Tap recoTap = new Hfs( new TextDelimited( true, "\t" ), recoPath );
// specify a regex to split the GIS dump into known fields
Fields fieldDeclaration = new Fields( "blurb", "misc", "geo", "kind" );
String regex = "^\"(.*)\",\"(.*)\",\"(.*)\",\"(.*)\"$";
int[] gisGroups = { 1, 2, 3, 4 };