Factory

@Serializable
@SerialName(value = "!GoogleCloud")
data class Factory(val projectId: String, val bucket: String, var prefix: Path? = null, var coroutineContext: CoroutineContext = Dispatchers.IO) : ObjectStore.Factory

Constructors

Link copied to clipboard
constructor(projectId: String, bucket: String, prefix: Path? = null, coroutineContext: CoroutineContext = Dispatchers.IO)

Properties

Link copied to clipboard

The name of the Cloud Storage bucket to use as an object store

Link copied to clipboard
open override val configProto: Any
Link copied to clipboard
Link copied to clipboard
var prefix: Path?

A file path to prefix all of your files with - for example, if "foo" is provided all XTDB files will be located under a "foo" directory.

Link copied to clipboard

The name of the Google Cloud Platform project that the bucket is contained within

Functions

Link copied to clipboard
Link copied to clipboard
open override fun openObjectStore(storageRoot: Path, remotes: Map<RemoteAlias, Remote>): CloudStorage
Link copied to clipboard