org.apache.pig.backend.hadoop.accumulo
Class Utils

java.lang.Object
  extended by org.apache.pig.backend.hadoop.accumulo.Utils

public class Utils
extends Object


Constructor Summary
Utils()
           
 
Method Summary
static void addDependencyJars(org.apache.hadoop.conf.Configuration conf, Class<?>... classes)
           
static void jarDir(File dir, String relativePath, ZipOutputStream zos)
           
static String jarFinderGetJar(Class klass)
          Returns the full path to the Jar containing the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

addDependencyJars

public static void addDependencyJars(org.apache.hadoop.conf.Configuration conf,
                                     Class<?>... classes)
                              throws IOException
Throws:
IOException

jarFinderGetJar

public static String jarFinderGetJar(Class klass)
Returns the full path to the Jar containing the class. It always return a JAR.

Parameters:
klass - class.
Returns:
path to the Jar containing the class.

jarDir

public static void jarDir(File dir,
                          String relativePath,
                          ZipOutputStream zos)
                   throws IOException
Throws:
IOException


Copyright © 2007-2012 The Apache Software Foundation