public class IcebergSource
extends java.lang.Object
implements org.apache.spark.sql.sources.v2.DataSourceV2, org.apache.spark.sql.sources.v2.ReadSupport, org.apache.spark.sql.sources.v2.WriteSupport, org.apache.spark.sql.sources.DataSourceRegister, org.apache.spark.sql.sources.v2.StreamWriteSupport
Constructor and Description |
---|
IcebergSource() |
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.sources.v2.reader.DataSourceReader |
createReader(org.apache.spark.sql.sources.v2.DataSourceOptions options) |
org.apache.spark.sql.sources.v2.reader.DataSourceReader |
createReader(org.apache.spark.sql.types.StructType readSchema,
org.apache.spark.sql.sources.v2.DataSourceOptions options) |
org.apache.spark.sql.sources.v2.writer.streaming.StreamWriter |
createStreamWriter(java.lang.String runId,
org.apache.spark.sql.types.StructType dsStruct,
org.apache.spark.sql.streaming.OutputMode mode,
org.apache.spark.sql.sources.v2.DataSourceOptions options) |
java.util.Optional<org.apache.spark.sql.sources.v2.writer.DataSourceWriter> |
createWriter(java.lang.String jobId,
org.apache.spark.sql.types.StructType dsStruct,
org.apache.spark.sql.SaveMode mode,
org.apache.spark.sql.sources.v2.DataSourceOptions options) |
protected Table |
findTable(org.apache.spark.sql.sources.v2.DataSourceOptions options,
org.apache.hadoop.conf.Configuration conf) |
java.lang.String |
shortName() |
public java.lang.String shortName()
shortName
in interface org.apache.spark.sql.sources.DataSourceRegister
public org.apache.spark.sql.sources.v2.reader.DataSourceReader createReader(org.apache.spark.sql.sources.v2.DataSourceOptions options)
createReader
in interface org.apache.spark.sql.sources.v2.ReadSupport
public org.apache.spark.sql.sources.v2.reader.DataSourceReader createReader(org.apache.spark.sql.types.StructType readSchema, org.apache.spark.sql.sources.v2.DataSourceOptions options)
createReader
in interface org.apache.spark.sql.sources.v2.ReadSupport
public java.util.Optional<org.apache.spark.sql.sources.v2.writer.DataSourceWriter> createWriter(java.lang.String jobId, org.apache.spark.sql.types.StructType dsStruct, org.apache.spark.sql.SaveMode mode, org.apache.spark.sql.sources.v2.DataSourceOptions options)
createWriter
in interface org.apache.spark.sql.sources.v2.WriteSupport
public org.apache.spark.sql.sources.v2.writer.streaming.StreamWriter createStreamWriter(java.lang.String runId, org.apache.spark.sql.types.StructType dsStruct, org.apache.spark.sql.streaming.OutputMode mode, org.apache.spark.sql.sources.v2.DataSourceOptions options)
createStreamWriter
in interface org.apache.spark.sql.sources.v2.StreamWriteSupport
protected Table findTable(org.apache.spark.sql.sources.v2.DataSourceOptions options, org.apache.hadoop.conf.Configuration conf)