MCPcopy Create free account
hub / github.com/apache/pig / setUp

Method setUp

test/org/apache/pig/test/TestSecondarySort.java:57–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls 4

getClusterMethod · 0.95
connectMethod · 0.65
getExecTypeMethod · 0.45
getPropertiesMethod · 0.45

Tested by

no test coverage detected