org.apache.pig.scripting.jython
Class JythonUtils

java.lang.Object
  extended by org.apache.pig.scripting.jython.JythonUtils

public class JythonUtils
extends Object


Constructor Summary
JythonUtils()
           
 
Method Summary
static org.python.core.PyObject pigToPython(Object object)
           
static org.python.core.PyTuple pigTupleToPyTuple(Tuple tuple)
           
static Object pythonToPig(org.python.core.PyObject pyObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JythonUtils

public JythonUtils()
Method Detail

pythonToPig

public static Object pythonToPig(org.python.core.PyObject pyObject)
                          throws ExecException
Throws:
ExecException

pigToPython

public static org.python.core.PyObject pigToPython(Object object)

pigTupleToPyTuple

public static org.python.core.PyTuple pigTupleToPyTuple(Tuple tuple)


Copyright © ${year} The Apache Software Foundation