Class AbstractDuckDBDataStoreFactory

Object
JDBCDataStoreFactory
AbstractDuckDBDataStoreFactory
All Implemented Interfaces:
DataAccessFactory, DataStoreFactorySpi, Factory
Direct Known Subclasses:
DuckDBDataStoreFactory

public abstract class AbstractDuckDBDataStoreFactory extends JDBCDataStoreFactory implements DataStoreFactorySpi
Abstract base class for DuckDB-powered datastores. Handles common DuckDB setup, configuration and initialization.

This factory provides the foundation for creating DataStore implementations that use DuckDB as their underlying database engine. It manages:

  • Common parameter definition and handling
  • DuckDB JDBC connection setup and configuration
  • Extension management
  • DataStore configuration (simplification, etc.)

Subclasses like GeoParquetDataStoreFactory extend this to provide format-specific implementation details while inheriting the common DuckDB handling code. This separation allows reuse of the DuckDB infrastructure across multiple datastore implementations.

DuckDB is an embedded analytical database that excels at reading and processing analytical data formats like Parquet, and includes excellent built-in support for spatial operations.