public class GroovyUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GroovyUtils.DataBagGroovyIterator |
Constructor and Description |
---|
GroovyUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
groovyToPig(java.lang.Object groovyObject)
Converts an object created on the Groovy side to its Pig counterpart.
|
static java.lang.Object |
pigToGroovy(java.lang.Object pigObject)
Converts an object created on the Pig side to its Groovy counterpart.
|
public static java.lang.Object groovyToPig(java.lang.Object groovyObject) throws ExecException
groovyObject
- Groovy object to convertExecException
public static java.lang.Object pigToGroovy(java.lang.Object pigObject) throws ExecException
pigObject
- ExecException
Copyright © 2007-2017 The Apache Software Foundation