Package com.lancedb.lance.spark
Class LanceNamespaceSparkCatalog
java.lang.Object
com.lancedb.lance.spark.BaseLanceNamespaceSparkCatalog
com.lancedb.lance.spark.LanceNamespaceSparkCatalog
- All Implemented Interfaces:
org.apache.spark.sql.connector.catalog.CatalogPlugin,org.apache.spark.sql.connector.catalog.SupportsNamespaces,org.apache.spark.sql.connector.catalog.TableCatalog
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.catalog.SupportsNamespaces
PROP_COMMENT, PROP_LOCATION, PROP_OWNERFields inherited from interface org.apache.spark.sql.connector.catalog.TableCatalog
OPTION_PREFIX, PROP_COMMENT, PROP_EXTERNAL, PROP_IS_MANAGED_LOCATION, PROP_LOCATION, PROP_OWNER, PROP_PROVIDER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDataset(LanceConfig config, org.apache.spark.sql.types.StructType sparkSchema) Methods inherited from class com.lancedb.lance.spark.BaseLanceNamespaceSparkCatalog
alterNamespace, alterTable, createNamespace, createTable, dropNamespace, dropTable, initialize, listNamespaces, listNamespaces, listTables, loadNamespaceMetadata, loadTable, name, namespaceExists, renameTable, tableExistsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.catalog.CatalogPlugin
defaultNamespaceMethods inherited from interface org.apache.spark.sql.connector.catalog.TableCatalog
capabilities, createTable, invalidateTable, loadTable, loadTable, purgeTable
-
Constructor Details
-
LanceNamespaceSparkCatalog
public LanceNamespaceSparkCatalog()
-
-
Method Details
-
createDataset
public LanceDataset createDataset(LanceConfig config, org.apache.spark.sql.types.StructType sparkSchema) - Specified by:
createDatasetin classBaseLanceNamespaceSparkCatalog
-