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

Method loadFunc

src/org/apache/pig/LoadFuncWrapper.java:86–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 protected LoadFunc loadFunc() {
87 if (this.loadFunc == null) {
88 // Pig does not re-throw the exception with a stack trace in the parse phase.
89 throw new IllegalArgumentException("Method calls can not be made on the " +
90 "LoadFuncWrapper object before the wrapped LoadFunc object has been "
91 + "set. Failed on method call " + getMethodName(1));
92 }
93 return loadFunc;
94 }
95
96 /**
97 * Returns a method in the call stack at the given depth. Depth 0 will return the method that

Callers 9

setLocationMethod · 0.95
getInputFormatMethod · 0.95
getLoadCasterMethod · 0.95
prepareToReadMethod · 0.95
getNextMethod · 0.95
getFeaturesMethod · 0.80
pushProjectionMethod · 0.80

Calls 1

getMethodNameMethod · 0.95

Tested by

no test coverage detected