public class RandomJsonSource extends JsonSource
Source.SourceTypepersistRdd, props, sourceProfileSupplier, sparkContext, sparkSession, writeTableVersion| Constructor and Description |
|---|
RandomJsonSource(org.apache.hudi.common.config.TypedProperties props,
org.apache.spark.api.java.JavaSparkContext sparkContext,
org.apache.spark.sql.SparkSession sparkSession,
SchemaProvider schemaProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected InputBatch<org.apache.spark.api.java.JavaRDD<String>> |
readFromCheckpoint(org.apache.hudi.common.util.Option<org.apache.hudi.common.table.checkpoint.Checkpoint> lastCkptStr,
long sourceLimit) |
fetchNewDataallowSourcePersist, assertCheckpointVersion, fetchNext, getSourceType, getSparkSession, releaseResources, translateCheckpointclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCommitpublic RandomJsonSource(org.apache.hudi.common.config.TypedProperties props, org.apache.spark.api.java.JavaSparkContext sparkContext, org.apache.spark.sql.SparkSession sparkSession, SchemaProvider schemaProvider)
protected InputBatch<org.apache.spark.api.java.JavaRDD<String>> readFromCheckpoint(org.apache.hudi.common.util.Option<org.apache.hudi.common.table.checkpoint.Checkpoint> lastCkptStr, long sourceLimit)
readFromCheckpoint in class Source<org.apache.spark.api.java.JavaRDD<String>>Copyright © 2025 The Apache Software Foundation. All rights reserved.