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

Method createInput

test/org/apache/pig/test/TestPigSplit.java:69–77  ·  view source on GitHub ↗
(String[] data, ExecType execType)

Source from the content-addressed store, hash-verified

67 }
68
69 private void createInput(String[] data, ExecType execType) throws IOException {
70 if (execType == cluster.getExecType()) {
71 Util.createInputFile(cluster, inputFileName, data);
72 } else if (execType.isLocal()) {
73 Util.createLocalInputFile(inputFileName, data);
74 } else {
75 throw new IOException("unknown exectype:" + execType.toString());
76 }
77 }
78
79 public void tearDown(ExecType execType) throws Exception {
80 if (execType == cluster.getExecType()) {

Callers 3

testLongEvalSpec2Method · 0.95
testSchemaWithSplitMethod · 0.95
testLongEvalSpecMethod · 0.95

Calls 5

createInputFileMethod · 0.95
createLocalInputFileMethod · 0.95
isLocalMethod · 0.65
getExecTypeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected