Package

io.github.setl.storage

repository

Permalink

package repository

Visibility
  1. Public
  2. All

Type Members

  1. trait Repository[DT] extends AnyRef

    Permalink

    The goal of Repository is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.

    The goal of Repository is to significantly reduce the amount of boilerplate code required to implement data access layers for various persistence stores.

    DT

    data type

    Annotations
    @Evolving()
  2. trait RepositoryAdapter[A, B] extends AnyRef

    Permalink

    RepositoryAdapter could be used when one wants to save a Dataset[A] to a data store of type B.

    RepositoryAdapter could be used when one wants to save a Dataset[A] to a data store of type B.

    A Repository[A] and a DatasetConverter[A, B] must be provided (either explicitly or implicitly)

    A

    Type of the Repository

    B

    Target data store type

    Annotations
    @Evolving()
  3. class SparkRepository[DataType] extends Repository[Dataset[DataType]] with Logging with HasSparkSession

    Permalink

    SparkRepository guarantee a Read-after-write consistency.

    SparkRepository guarantee a Read-after-write consistency.

    DataType

    type of spark repository

    Annotations
    @Evolving()

Value Members

  1. object ImplicitRepositoryAdapter

    Permalink
  2. object SparkRepository

    Permalink

Ungrouped