public class WriterContext extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
WriterContext(org.apache.spark.api.java.JavaSparkContext jsc,
org.apache.hudi.common.config.TypedProperties props,
HoodieTestSuiteJob.HoodieTestSuiteConfig cfg,
org.apache.hudi.keygen.BuiltinKeyGenerator keyGenerator,
org.apache.spark.sql.SparkSession sparkSession) |
| Modifier and Type | Method and Description |
|---|---|
HoodieTestSuiteJob.HoodieTestSuiteConfig |
getCfg() |
DeltaGenerator |
getDeltaGenerator() |
HoodieTestSuiteWriter |
getHoodieTestSuiteWriter() |
org.apache.hudi.common.config.TypedProperties |
getProps() |
org.apache.spark.sql.SparkSession |
getSparkSession() |
void |
initContext(org.apache.spark.api.java.JavaSparkContext jsc) |
void |
reinitContext(Map<String,Object> newConfig) |
void |
shutdownResources() |
String |
toString() |
public WriterContext(org.apache.spark.api.java.JavaSparkContext jsc,
org.apache.hudi.common.config.TypedProperties props,
HoodieTestSuiteJob.HoodieTestSuiteConfig cfg,
org.apache.hudi.keygen.BuiltinKeyGenerator keyGenerator,
org.apache.spark.sql.SparkSession sparkSession)
public void initContext(org.apache.spark.api.java.JavaSparkContext jsc)
throws org.apache.hudi.exception.HoodieException
public void reinitContext(Map<String,Object> newConfig) throws org.apache.hudi.exception.HoodieException
public HoodieTestSuiteWriter getHoodieTestSuiteWriter()
public DeltaGenerator getDeltaGenerator()
public HoodieTestSuiteJob.HoodieTestSuiteConfig getCfg()
public org.apache.hudi.common.config.TypedProperties getProps()
public org.apache.spark.sql.SparkSession getSparkSession()
public void shutdownResources()
Copyright © 2023 The Apache Software Foundation. All rights reserved.