ConnectionMode

com.softinio.duck4s.algebra.ConnectionMode

Specifies the connection mode for DuckDB connections.

DuckDB supports two primary connection modes: in-memory databases for temporary data processing and persistent databases stored on disk.

Attributes

Since

0.1.0

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case InMemory extends ConnectionMode

Creates an in-memory database that exists only for the duration of the connection.

Creates an in-memory database that exists only for the duration of the connection.

In-memory databases are ideal for temporary data processing, testing, and scenarios where data persistence is not required.

Attributes

final case class Persistent(path: String)

Creates a persistent database stored at the specified file path.

Creates a persistent database stored at the specified file path.

Value parameters

path

The file system path where the database file will be created or opened

Attributes