@Test public void testComplexExpression() throws Exception { String[] recipe = new String[] { "parse-as-csv body , true", "drop body", "merge body_1 body_2 Full_Name ' '", "drop body_1,body_2", "find-and-replace body_4 s/Washington "send-to-error empty(body_4)", "send-to-error body_5 =~ \"DC.*\"", "filter-rows-on regex-match body_5 *as*" }; CompileStatus compile = TestingRig.compile(recipe); Assert.assertTrue(true); }
@Override public CompileStatus compile(String recipe) throws CompileException { return compile(CharStreams.fromString(recipe)); }
RecipeCompiler implements Compiler { @Override public CompileStatus compile(String recipe) throws CompileException { return compile(CharStreams.fromString(recipe)); } }
RecipeCompiler implements Compiler { @Override public CompileStatus compile(String recipe) throws CompileException { return compile(CharStreams.fromString(recipe)); } RecipeCompiler(); }
RecipeCompiler implements Compiler { @Override public CompileStatus compile(String recipe) throws CompileException { return compile(CharStreams.fromString(recipe)); } RecipeCompiler(); @Override CompileStatus compile(String recipe); @Override CompileStatus compile(Location location); @Override CompileStatus compile(Path path); }
RecipeCompiler implements Compiler { @Override public CompileStatus compile(String recipe) throws CompileException { return compile(CharStreams.fromString(recipe)); } RecipeCompiler(); @Override CompileStatus compile(String recipe); @Override CompileStatus compile(Location location); @Override CompileStatus compile(Path path);  }