public class WriterContext extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.apache.log4j.Logger |
log |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
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()
Copyright © 2021 The Apache Software Foundation. All rights reserved.