public class IcebergSource
extends java.lang.Object
implements org.apache.spark.sql.sources.DataSourceRegister, org.apache.spark.sql.connector.catalog.SupportsCatalogOptions
Constructor and Description |
---|
IcebergSource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
extractCatalog(org.apache.spark.sql.util.CaseInsensitiveStringMap options) |
org.apache.spark.sql.connector.catalog.Identifier |
extractIdentifier(org.apache.spark.sql.util.CaseInsensitiveStringMap options) |
org.apache.spark.sql.connector.catalog.Table |
getTable(org.apache.spark.sql.types.StructType schema,
org.apache.spark.sql.connector.expressions.Transform[] partitioning,
java.util.Map<java.lang.String,java.lang.String> options) |
org.apache.spark.sql.connector.expressions.Transform[] |
inferPartitioning(org.apache.spark.sql.util.CaseInsensitiveStringMap options) |
org.apache.spark.sql.types.StructType |
inferSchema(org.apache.spark.sql.util.CaseInsensitiveStringMap options) |
java.lang.String |
shortName() |
boolean |
supportsExternalMetadata() |
public java.lang.String shortName()
shortName
in interface org.apache.spark.sql.sources.DataSourceRegister
public org.apache.spark.sql.types.StructType inferSchema(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
inferSchema
in interface org.apache.spark.sql.connector.catalog.TableProvider
public org.apache.spark.sql.connector.expressions.Transform[] inferPartitioning(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
inferPartitioning
in interface org.apache.spark.sql.connector.catalog.TableProvider
public boolean supportsExternalMetadata()
supportsExternalMetadata
in interface org.apache.spark.sql.connector.catalog.TableProvider
public org.apache.spark.sql.connector.catalog.Table getTable(org.apache.spark.sql.types.StructType schema, org.apache.spark.sql.connector.expressions.Transform[] partitioning, java.util.Map<java.lang.String,java.lang.String> options)
getTable
in interface org.apache.spark.sql.connector.catalog.TableProvider
public org.apache.spark.sql.connector.catalog.Identifier extractIdentifier(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
extractIdentifier
in interface org.apache.spark.sql.connector.catalog.SupportsCatalogOptions
public java.lang.String extractCatalog(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
extractCatalog
in interface org.apache.spark.sql.connector.catalog.SupportsCatalogOptions