()
| 55 | } |
| 56 | |
| 57 | @Before |
| 58 | public void setUp() throws Exception { |
| 59 | if (cluster == null) { |
| 60 | cluster = getCluster(); |
| 61 | pc = new PigContext(cluster.getExecType(), cluster.getProperties()); |
| 62 | try { |
| 63 | pc.connect(); |
| 64 | } catch (ExecException e) { |
| 65 | throw new RuntimeException(e); |
| 66 | } |
| 67 | } |
| 68 | pigServer = new PigServer(pc); |
| 69 | } |
| 70 | |
| 71 | public abstract SecondaryKeyOptimizer visitSecondaryKeyOptimizer( |
| 72 | String query) throws Exception, VisitorException; |
nothing calls this directly
no test coverage detected