Factory

interface Factory

Opens an ExternalSource for a database, from the source config. Called once per database open, and a throw here fails that open — so validation that needs nothing from the upstream belongs here, where a misconfiguration surfaces on the node whose config carries it.

See Registration to make an external source implementation available through ATTACH DATABASE.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun open(dbName: String, remotes: Map<RemoteAlias, Remote>, meterRegistry: MeterRegistry? = null): ExternalSource