public class TearDownHql extends Object implements org.junit.rules.TestRule
| Modifier and Type | Class and Description |
|---|---|
static class |
TearDownHql.RunTearDownHqlStatement
A Statement that does the actual heavy lifting for TearDownHql
|
| Constructor and Description |
|---|
TearDownHql(TestHiveServer testingHiveServer,
HqlScript tearDownHql)
Constructs a TearDownHql object
|
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
Wraps a given Statement with a RunTearDownHqlStatement instance
When the nested Statement chain is evaluated, the tear down script will run after the wrapped statement is evaluated
|
public TearDownHql(TestHiveServer testingHiveServer, HqlScript tearDownHql)
testingHiveServer - the TestHiveServer to run the tear down script ontearDownHql - a TextResource containing with the tear down script to runpublic org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRulestatement - the Statement to run the tear down script after evaluation ofdescription - ignoredCopyright © 2016. All rights reserved.