Package org.apache.iceberg.spark.source
Class SparkChangelogTable
- java.lang.Object
-
- org.apache.iceberg.spark.source.SparkChangelogTable
-
- All Implemented Interfaces:
org.apache.spark.sql.connector.catalog.SupportsRead
,org.apache.spark.sql.connector.catalog.Table
public class SparkChangelogTable extends java.lang.Object implements org.apache.spark.sql.connector.catalog.Table, org.apache.spark.sql.connector.catalog.SupportsRead
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TABLE_NAME
-
Constructor Summary
Constructors Constructor Description SparkChangelogTable(Table icebergTable, boolean refreshEagerly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.apache.spark.sql.connector.catalog.TableCapability>
capabilities()
java.lang.String
name()
org.apache.spark.sql.connector.read.ScanBuilder
newScanBuilder(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
org.apache.spark.sql.types.StructType
schema()
-
-
-
Field Detail
-
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SparkChangelogTable
public SparkChangelogTable(Table icebergTable, boolean refreshEagerly)
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
name
in interfaceorg.apache.spark.sql.connector.catalog.Table
-
schema
public org.apache.spark.sql.types.StructType schema()
- Specified by:
schema
in interfaceorg.apache.spark.sql.connector.catalog.Table
-
capabilities
public java.util.Set<org.apache.spark.sql.connector.catalog.TableCapability> capabilities()
- Specified by:
capabilities
in interfaceorg.apache.spark.sql.connector.catalog.Table
-
newScanBuilder
public org.apache.spark.sql.connector.read.ScanBuilder newScanBuilder(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
- Specified by:
newScanBuilder
in interfaceorg.apache.spark.sql.connector.catalog.SupportsRead
-
-