|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.hadoop.hive.ql.metadata.TestHive
public class TestHive
TestHive.
Field Summary | |
---|---|
protected HiveConf |
hiveConf
|
protected Hive |
hm
|
Constructor Summary | |
---|---|
TestHive()
|
Method Summary | |
---|---|
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testGetAndDropTables()
|
void |
testHiveCloseCurrent()
Test basic Hive class interaction, that: - We can have different Hive objects throughout the lifetime of this thread. |
void |
testHiveRefreshDatabase()
|
void |
testIndex()
Tests creating a simple index on a simple table. |
void |
testPartition()
|
void |
testTable()
|
void |
testThriftTable()
Tests create and fetch of a thrift based table. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Hive hm
protected HiveConf hiveConf
Constructor Detail |
---|
public TestHive()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
public void testTable() throws Throwable
Throwable
public void testThriftTable() throws Throwable
Throwable
public void testHiveCloseCurrent() throws Throwable
Throwable
public void testGetAndDropTables() throws Throwable
Throwable
public void testPartition() throws Throwable
Throwable
public void testIndex() throws Throwable
Throwable
public void testHiveRefreshDatabase() throws Throwable
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |