public class SparkTestEnvironment extends Object implements TestEnvironment
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.spark.sql.SparkSession |
defaultSession |
| Constructor and Description |
|---|
SparkTestEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.sql.SparkSession |
getDefaultSession() |
TestEnvironment[] |
getDependentEnvironments() |
static SparkTestEnvironment |
getInstance() |
void |
setup() |
void |
tearDown() |
public static SparkTestEnvironment getInstance()
public void setup()
throws Exception
setup in interface TestEnvironmentExceptionpublic void tearDown()
throws Exception
tearDown in interface TestEnvironmentExceptionpublic TestEnvironment[] getDependentEnvironments()
getDependentEnvironments in interface TestEnvironmentpublic org.apache.spark.sql.SparkSession getDefaultSession()
Copyright © 2013–2021. All rights reserved.