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

Method toString

src/org/apache/pig/scripting/jruby/RubySchema.java:680–683  ·  view source on GitHub ↗

The toString method just leverages Schema's printing. @param context the context the method is being executed in @return a String representation of the encapsulated Schema object

(ThreadContext context)

Source from the content-addressed store, hash-verified

678 * @return a String representation of the encapsulated Schema object
679 */
680 @JRubyMethod(name = {"to_s", "inspect"})
681 public RubyString toString(ThreadContext context) {
682 return RubyString.newString(context.getRuntime(), internalSchema.toString());
683 }
684
685 /**
686 * This is the ruby method which allows people to access elements of the RubySchema object.

Callers 15

setPigStatsMethod · 0.45
getUdfOutputMethod · 0.45
compileMethod · 0.45
replaceParametersMethod · 0.45
getScriptFromFileMethod · 0.45
getDefineClausesMethod · 0.45
rubyToPigMethod · 0.45
pigToRubyMethod · 0.45
libsToShipMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected