o

quasar.fs

InMemory

object InMemory

In-Memory FileSystem interpreters, useful for testing/stubbing when a "real" interpreter isn't needed or desired.

NB: Since this is in-memory, careful with writing large amounts of data to the file system.

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

Type Members

  1. type FileMap = Map[AFile, slamdata.Predef.Vector[Data]]
  2. final case class InMemState(seq: slamdata.Predef.Long, contents: FileMap, rm: RM, wm: WM, queryResps: QueryResponses, resultMap: ResultMap) extends Product with Serializable

    Represents the current state of the InMemoryFilesystem

    Represents the current state of the InMemoryFilesystem

    seq

    Represents the next available uid for a ReadHandle or WriteHandle

    contents

    The mapping of Data associated with each file in the Filesystem

    rm

    Currently open quasar.fs.ReadFile.ReadHandles

    wm

    Currently open quasar.fs.WriteFile.WriteHandles

  3. type InMemoryFs[A] = IndexedStateT[scalaz.Id.Id, InMemState, InMemState, A]
  4. type QueryResponses = Map[Fix[LogicalPlan], slamdata.Predef.Vector[Data]]
  5. type RM = Map[ReadHandle, Reading]
  6. final case class Reading(f: AFile, start: Natural, lim: slamdata.Predef.Option[Positive], pos: slamdata.Predef.Int) extends Product with Serializable
  7. type ResultMap = Map[ResultHandle, slamdata.Predef.Vector[Data]]
  8. type WM = Map[WriteHandle, AFile]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. val fileSystem: ~>[FileSystem, InMemoryFs]
  9. val fileSystem0: ~>[BackendEffect, InMemoryFs]
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val manageFile: ~>[ManageFile, InMemoryFs]
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val queryFile: ~>[QueryFile, InMemoryFs]
  19. val readFile: ~>[ReadFile, InMemoryFs]
  20. def runBackend(initial: InMemState): Task[~>[BackendEffect, Task]]
  21. def runBackendInspect(initial: InMemState): Task[(~>[BackendEffect, Task], Task[InMemState])]
  22. def runFs(initial: InMemState): Task[~>[FileSystem, Task]]
  23. def runInspect(initial: InMemState): Task[(~>[InMemoryFs, Task], Task[InMemState])]
  24. def runStatefully(initial: InMemState): Task[~>[InMemoryFs, Task]]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. val writeFile: ~>[WriteFile, InMemoryFs]
  31. object InMemState extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped