@InterfaceAudience.Private @InterfaceStability.Unstable public class HiveTestUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLAZZ_FILE_EXT |
static String |
JAR_FILE_EXT |
static String |
JAVA_FILE_EXT |
static org.slf4j.Logger |
LOG |
static String |
TXT_FILE_EXT |
| Constructor and Description |
|---|
HiveTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static File |
genLocalJarForTest(String pathToClazzFile,
String clazzName) |
static File |
genLocalJarForTest(String pathToClazzFile,
String clazzName,
Map<File,String> extraContent) |
static String |
getFileFromClasspath(String name) |
public static final org.slf4j.Logger LOG
public static final String JAVA_FILE_EXT
public static final String CLAZZ_FILE_EXT
public static final String JAR_FILE_EXT
public static final String TXT_FILE_EXT
public static File genLocalJarForTest(String pathToClazzFile, String clazzName) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static File genLocalJarForTest(String pathToClazzFile, String clazzName, Map<File,String> extraContent) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.