parameters: (cls,sc)
return_statement: return SFRAME_GRAPHLABUTIL_REF
docstring: A utility function to get a handle to GraphLabUtil object in jar file.
          This utility function dynamically loads the GraphLabUtil class and call
          factory method ``getUtil()`` that returns a GraphLabUtil object.
  
          Parameters
          ----------
          sc : SparkContext
              Current SparkContext.
docstring_summary: A utility function to get a handle to GraphLabUtil object in jar file.
          This utility function dynamically loads the GraphLabUtil class and call
          factory method ``getUtil()`` that returns a GraphLabUtil object.
docstring_tokens: A utility function to get a handle to GraphLabUtil object in jar file . This utility function dynamically loads the GraphLabUtil class and call factory method getUtil () that returns a GraphLabUtil object .
function: def __get_graphlabutil_reference_on_spark_unity_jar(cls,sc):
          '''
          A utility function to get a handle to GraphLabUtil object in jar file.
          This utility function dynamically loads the GraphLabUtil class and call
          factory method ``getUtil()`` that returns a GraphLabUtil object.
  
          Parameters
          ----------
          sc : SparkContext
              Current SparkContext.
          '''
          global SFRAME_GRAPHLABUTIL_REF
  
          if SFRAME_GRAPHLABUTIL_REF is None:
              jar_path = get_spark_integration_jar_path()
              jar_file = sc._jvm.java.io.File(jar_path)
              jar_url = jar_file.toURL()
              url_array = sc._gateway.new_array(sc._jvm.java.net.URL,1)
              url_array[0] = jar_url
              child = sc._jvm.java.net.URLClassLoader(url_array)
              load_class = child.loadClass("org.graphlab.create.GraphLabUtil")
              method = load_class.getDeclaredMethod("getUtil",None)
              SFRAME_GRAPHLABUTIL_REF = method.invoke(load_class,None)
  
          return SFRAME_GRAPHLABUTIL_REF
function_tokens: def __get_graphlabutil_reference_on_spark_unity_jar ( cls , sc ) : global SFRAME_GRAPHLABUTIL_REF if SFRAME_GRAPHLABUTIL_REF is None : jar_path = get_spark_integration_jar_path ( ) jar_file = sc . _jvm . java . io . File ( jar_path ) jar_url = jar_file . toURL ( ) url_array = sc . _gateway . new_array ( sc . _jvm . java . net . URL , 1 ) url_array [ 0 ] = jar_url child = sc . _jvm . java . net . URLClassLoader ( url_array ) load_class = child . loadClass ( "org.graphlab.create.GraphLabUtil" ) method = load_class . getDeclaredMethod ( "getUtil" , None ) SFRAME_GRAPHLABUTIL_REF = method . invoke ( load_class , None ) return SFRAME_GRAPHLABUTIL_REF