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

Method storeFunc

src/org/apache/pig/StoreFuncWrapper.java:96–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94 }
95
96 private StoreFuncInterface storeFunc() {
97 if (this.storeFunc == null) {
98 // Pig does not re-throw the exception with a stack trace in the parse phase.
99 throw new IllegalArgumentException("Method calls can not be made on the " +
100 "StoreFuncWrapper object before the wrapped StoreFuncInterface object has been "
101 + "set. Failed on method call " + getMethodName(1));
102 }
103 return storeFunc;
104 }
105
106 /**
107 * Returns a method in the call stack at the given depth. Depth 0 will return the method that

Callers 9

getOutputFormatMethod · 0.95
setStoreLocationMethod · 0.95
checkSchemaMethod · 0.95
prepareToWriteMethod · 0.95
putNextMethod · 0.95
cleanupOnFailureMethod · 0.95
cleanupOnSuccessMethod · 0.95

Calls 1

getMethodNameMethod · 0.95

Tested by

no test coverage detected