Object

quasar.fs

InMemory

Related Doc: package fs

Permalink

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
AnyRef, Any
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]]

    Permalink
  2. final case class InMemState(seq: slamdata.Predef.Long, contents: FileMap, rm: RM, wm: WM, queryResps: QueryResponses, resultMap: ResultMap) extends Product with Serializable

    Permalink

    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]

    Permalink
  4. type QueryResponses = Map[Fix[LogicalPlan], slamdata.Predef.Vector[Data]]

    Permalink
  5. type RM = Map[ReadHandle, Reading]

    Permalink
  6. final case class Reading(f: AFile, start: Natural, lim: slamdata.Predef.Option[Positive], pos: slamdata.Predef.Int) extends Product with Serializable

    Permalink
  7. type ResultMap = Map[ResultHandle, slamdata.Predef.Vector[Data]]

    Permalink
  8. type WM = Map[WriteHandle, AFile]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object InMemState extends Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. val fileSystem: ~>[FileSystem, InMemoryFs]

    Permalink
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val manageFile: ~>[ManageFile, InMemoryFs]

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val queryFile: ~>[QueryFile, InMemoryFs]

    Permalink
  19. val readFile: ~>[ReadFile, InMemoryFs]

    Permalink
  20. def runFs(initial: InMemState): Task[~>[FileSystem, Task]]

    Permalink
  21. def runInspect(initial: InMemState): Task[(~>[InMemoryFs, Task], Task[InMemState])]

    Permalink
  22. def runStatefully(initial: InMemState): Task[~>[InMemoryFs, Task]]

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val writeFile: ~>[WriteFile, InMemoryFs]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped