@Evolving public interface SupportsCatalogOptions extends TableProvider
Modifier and Type | Method and Description |
---|---|
default String |
extractCatalog(CaseInsensitiveStringMap options)
Return the name of a catalog that can be used to check the existence of, load, and create
a table for this DataSource given the identifier that will be extracted by
extractIdentifier . |
Identifier |
extractIdentifier(CaseInsensitiveStringMap options)
Return a
Identifier instance that can identify a table for a DataSource given
DataFrame[Reader|Writer] options. |
default java.util.Optional<String> |
extractTimeTravelTimestamp(CaseInsensitiveStringMap options)
Extracts the timestamp string for time travel from the given options.
|
default java.util.Optional<String> |
extractTimeTravelVersion(CaseInsensitiveStringMap options)
Extracts the version string for time travel from the given options.
|
getTable, inferPartitioning, inferSchema, supportsExternalMetadata
Identifier extractIdentifier(CaseInsensitiveStringMap options)
Identifier
instance that can identify a table for a DataSource given
DataFrame[Reader|Writer] options.options
- the user-specified options that can identify a table, e.g. file path, Kafka
topic name, etc. It's an immutable case-insensitive string-to-string map.default String extractCatalog(CaseInsensitiveStringMap options)
extractIdentifier
. A `null` value can
be used to defer to the V2SessionCatalog.options
- the user-specified options that can identify a table, e.g. file path, Kafka
topic name, etc. It's an immutable case-insensitive string-to-string map.default java.util.Optional<String> extractTimeTravelTimestamp(CaseInsensitiveStringMap options)
default java.util.Optional<String> extractTimeTravelVersion(CaseInsensitiveStringMap options)