(PigServer pigServer, String query)
| 1158 | } |
| 1159 | |
| 1160 | public static LogicalPlan buildLp(PigServer pigServer, String query) |
| 1161 | throws Exception { |
| 1162 | pigServer.setBatchOn(); |
| 1163 | pigServer.registerQuery( query ); |
| 1164 | java.lang.reflect.Method buildLp = pigServer.getClass().getDeclaredMethod("buildLp"); |
| 1165 | buildLp.setAccessible(true); |
| 1166 | return (LogicalPlan ) buildLp.invoke( pigServer ); |
| 1167 | } |
| 1168 | |
| 1169 | public static PhysicalPlan buildPp(PigServer pigServer, String query) |
| 1170 | throws Exception { |
no test coverage detected