Class | Description |
---|---|
SetUpHql |
A TestRule which executes hive scripts before the test is executed as part of a set up effort
The order of evaluation amongst multiple SetUpHql rules is *NON DETERMINISTIC*
If evaluation order matters, use the same rule to execute multiple set up commands as part of the same script
|
SetUpHql.RunSetUpHqlStatement |
A Statement that does the actual heavy lifting for SetUpHql
|
TearDownHql |
A TestRule which executes hive scripts after the test is done as part of a clean up effort
The order of evaluation amongst multiple TearDownHql rules is *NON DETERMINISTIC*
If evaluation order matters, use the same rule to execute multiple tear down commands as part of the same script
If the test method (annotated with @Test) fails, the tear down script will still be run
|
TearDownHql.RunTearDownHqlStatement |
A Statement that does the actual heavy lifting for TearDownHql
|
TestDataLoader |
This TestRule class provides utility functions for extracting testing data from resources and loading it into Hive tables
|
TestHiveServer |
TestHiveServer is a TestRule responsible for constructing a HiveContext for use in testing hql scripts
*MUST* be used with the @ClassRule annotation - other HqlUnit provided TestRules require this rule to run first
Many classes take a TestHiveServer as an input even though they just need the HiveContext.
|
TestHiveServer.ConstructHiveContextStatement |
A Statement that performs most of the work for TestHiveServer
|
Copyright © 2016. All rights reserved.