public static class SetUpHql.RunSetUpHqlStatement
extends org.junit.runners.model.Statement
Constructor and Description |
---|
RunSetUpHqlStatement(org.junit.runners.model.Statement wrappedStatement,
TestHiveServer testingHiveServer,
HqlScript setUpHql)
Constructs a RunSetUpHqlStatement
When evaluated this Statement runs a hive script as set up code and then evaluates a wrapped Statement
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate()
Executes the set up hql script, and then evaluates the wrapped Statement
|
public RunSetUpHqlStatement(org.junit.runners.model.Statement wrappedStatement, TestHiveServer testingHiveServer, HqlScript setUpHql)
wrappedStatement
- the Statement to execute the set up script before evaluation oftestingHiveServer
- the TestHiveServer to run the set up script onsetUpHql
- a TextResource containing the hql script to perform set up withCopyright © 2016. All rights reserved.