public class TestHiveServer extends Object implements org.junit.rules.TestRule
| Modifier and Type | Class and Description |
|---|---|
static class |
TestHiveServer.ConstructHiveContextStatement
A Statement that performs most of the work for TestHiveServer
|
| Constructor and Description |
|---|
TestHiveServer() |
| 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 ConstructHiveContextStatement
|
org.apache.spark.sql.hive.HiveContext |
getHiveContext()
Provides access to the HiveContext produced by this TestRule
|
public 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 base statement to be wrappeddescription - ignoredpublic org.apache.spark.sql.hive.HiveContext getHiveContext()
Copyright © 2016. All rights reserved.