Package

quasar

main

Permalink

package main

Concrete effect types and their interpreters that implement the quasar functionality.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. main
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class CmdLineConfig(configPath: slamdata.Predef.Option[FsFile], cmd: Cmd) extends Product with Serializable

    Permalink
  2. type CoreEff[A] = Coproduct[MetaStoreLocation, [A]Coproduct[Module, [A]Coproduct[Mounting, [A]Coproduct[Analyze, [A]Coproduct[QueryFile, [A]Coproduct[ReadFile, [A]Coproduct[WriteFile, [A]Coproduct[ManageFile, [A]Coproduct[[A]KeyValueStore[Path[Abs, File, Sandboxed], ViewCache, A], [A]Coproduct[Timing, [A]Coproduct[[A]Failure[Error, A], [A]Coproduct[[A]Failure[PathTypeMismatch, A], [A]Coproduct[[A]Failure[MountingError, A], [A]Failure[FileSystemError, A], A], A], A], A], A], A], A], A], A], A], A], A], A]

    Permalink
  3. type CoreEffIO[A] = Coproduct[Task, CoreEff, A]

    Permalink

    Effect comprising the core Quasar apis.

  4. type CoreErrs[A] = Coproduct[Failure, CoreErrs1, A]

    Permalink

    The types of failure from core apis.

  5. type CoreErrs0[A] = Coproduct[MountingFailure, FileSystemFailure, A]

    Permalink
  6. type CoreErrs1[A] = Coproduct[PathMismatchFailure, CoreErrs0, A]

    Permalink
  7. class FilesystemQueries[S[_]] extends AnyRef

    Permalink
  8. type HierarchicalFsEff[A] = Coproduct[PhysFsEffM, HierarchicalFsEff0, A]

    Permalink
  9. type HierarchicalFsEff0[A] = Coproduct[MountedResultH, MonotonicSeq, A]

    Permalink
  10. type HierarchicalFsEffM[A] = Free[HierarchicalFsEff, A]

    Permalink

    The effects required by hierarchical FileSystem operations.

  11. type MainErrT[F[_], A] = EitherT[F, slamdata.Predef.String, A]

    Permalink
  12. type MainTask[A] = EitherT[Task, slamdata.Predef.String, A]

    Permalink
  13. sealed abstract class MetaStoreLocation[A] extends AnyRef

    Permalink
  14. type MountEff[A] = Coproduct[PhysFsEffM, MountEff0, A]

    Permalink
  15. type MountEff0[A] = Coproduct[HierarchicalFsRef, MountedFsRef, A]

    Permalink
  16. type MountEffM[A] = Free[MountEff, A]

    Permalink

    Effects required for mounting.

  17. type MountedFsRef[A] = AtomicRef[Mounts[DefinitionResult[PhysFsEffM]], A]

    Permalink
  18. type PhysFsEff[A] = Coproduct[Task, PhysErr, A]

    Permalink
  19. type PhysFsEffM[A] = Free[PhysFsEff, A]

    Permalink

    Effects that physical filesystems are permitted.

  20. type QEff[A] = Coproduct[Timing, QEff0, A]

    Permalink
  21. type QEff0[A] = Coproduct[VCache, QEff1, A]

    Permalink
  22. type QEff1[A] = Coproduct[MetaStoreLocation, QEff2, A]

    Permalink
  23. type QEff2[A] = Coproduct[Mounting, QErrs, A]

    Permalink
  24. type QEffIO[A] = Coproduct[Task, QEff, A]

    Permalink

    A "terminal" effect, encompassing failures and other effects which we may want to interpret using more than one implementation.

  25. type QErrs[A] = Coproduct[PhysErr, CoreErrs, A]

    Permalink

    All possible types of failure in the system (apis + physical).

  26. type QErrs_Task[A] = Coproduct[Task, QErrs, A]

    Permalink
  27. type QErrs_TaskM[A] = Free[QErrs_Task, A]

    Permalink
  28. final case class Quasar(interp: ~>[CoreEff, QErrs_TaskM], shutdown: Task[slamdata.Predef.Unit]) extends Product with Serializable

    Permalink

    The Quasar Filesystem.

    The Quasar Filesystem. Contains the CoreEff that can be used to interpret most operations. Also has convenience methods for executing common operation within Task. The shutdown task should be called once you are done with it.

    shutdown

    Trigger the underlying connector drivers to shutdown cleanly.

Value Members

  1. object Caching

    Permalink
  2. object CompositeFileSystem

    Permalink

    A FileSystem supporting views and physical filesystems mounted at various points in the hierarchy.

  3. object CoreEff extends Serializable

    Permalink
  4. object HierarchicalFsEff extends Serializable

    Permalink
  5. object KvsMounter

    Permalink
  6. val MainTask: MonadError[[γ$0$]EitherT[Task, String, γ$0$], slamdata.Predef.String]

    Permalink
  7. object MetaStoreLocation

    Permalink
  8. object MountEff extends Serializable

    Permalink
  9. object PhysFsEff extends Serializable

    Permalink
  10. object Prettify

    Permalink
  11. object QErrs extends Serializable

    Permalink
  12. object QErrs_Task extends Serializable

    Permalink
  13. object Quasar extends Serializable

    Permalink
  14. object analysis

    Permalink
  15. def attemptMountAll[S[_]](config: MountingsConfig)(implicit S: :<:[Mounting, S]): Free[S, slamdata.Predef.Map[APath, slamdata.Predef.String]]

    Permalink

    Mount all the mounts defined in the given configuration, returning the paths that failed to mount along with the reasons why.

  16. object config

    Permalink
  17. def initMetaStoreOrStart[C](config: CmdLineConfig, start: (C, ~>[CoreEff, QErrs_TaskM]) ⇒ MainTask[slamdata.Predef.Unit], persist: (DbConnectionConfig) ⇒ MainTask[slamdata.Predef.Unit])(implicit arg0: DecodeJson[C], configOps: ConfigOps[C]): MainTask[slamdata.Predef.Unit]

    Permalink

    Either initialize the metastore or execute the start depending on what command is provided by the user in the command line arguments

  18. def initUpdateMigrate[A](schema: Schema[A], tx: Transactor[Task], cfgFile: slamdata.Predef.Option[FsFile]): MainTask[slamdata.Predef.Unit]

    Permalink

    Initialize or update MetaStore Schema and migrate mounts from config file

  19. val logFailedMount: ((APath, slamdata.Predef.String)) ⇒ Task[slamdata.Predef.Unit]

    Permalink

    Prints a warning about the mount failure to the console.

  20. object metastore

    Permalink
  21. val mountHandler: MountRequestHandler[PhysFsEffM, HierarchicalFsEff]

    Permalink

    Provides the mount handlers to update the hierarchical filesystem whenever a mount is added or removed.

  22. val physicalFileSystems: BackendDef[PhysFsEffM]

    Permalink

    The physical filesystems currently supported.

  23. package query

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped