Object/Class

quasar.fs

QueryFile

Related Docs: class QueryFile | package fs

Permalink

object QueryFile

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

Type Members

  1. final case class Close(h: ResultHandle) extends QueryFile[slamdata.Predef.Unit] with Product with Serializable

    Permalink

    Used to halt streaming of a result set initiated using the EvaluatePlan operation.

  2. final case class EvaluatePlan(lp: Fix[LogicalPlan]) extends QueryFile[(PhaseResults, \/[FileSystemError, ResultHandle])] with Product with Serializable

    Permalink

    The result of the query is immediately streamed back to the client.

    The result of the query is immediately streamed back to the client. This operation begins the streaming, in order to continue the streaming, the client must make use of the More operation and finally the Close operation in order to halt the streaming. The LogicalPlan is expected to only contain absolute paths even though that is unfortunately not expressed in the types currently.

  3. final case class ExecutePlan(lp: Fix[LogicalPlan], out: AFile) extends QueryFile[(PhaseResults, \/[FileSystemError, AFile])] with Product with Serializable

    Permalink

    The result of the query is stored in an output file, overwriting any existing contents, instead of being returned to the user immediately.

    The result of the query is stored in an output file, overwriting any existing contents, instead of being returned to the user immediately.

    The LogicalPlan is expected to only contain absolute paths even though that is unfortunately not expressed in the types currently.

  4. final case class Explain(lp: Fix[LogicalPlan]) extends QueryFile[(PhaseResults, \/[FileSystemError, ExecutionPlan])] with Product with Serializable

    Permalink

    Represents an "explain plan" operation.

    Represents an "explain plan" operation. This operation should not actually have any side effect on the filesystem, it should simply return useful information to the user about how a given query would be evaluated on this filesystem implementation. The quasar.LogicalPlan is expected to only contain absolute paths even though that is unfortunately not expressed in the types currently.

  5. final case class FileExists(file: AFile) extends QueryFile[slamdata.Predef.Boolean] with Product with Serializable

    Permalink

    This operation should return whether a file exists in the filesystem.

  6. final case class ListContents(dir: ADir) extends QueryFile[\/[FileSystemError, slamdata.Predef.Set[PathSegment]]] with Product with Serializable

    Permalink

    This operation lists the names of all the immediate children of the supplied directory in the filesystem.

  7. final case class More(h: ResultHandle) extends QueryFile[\/[FileSystemError, slamdata.Predef.Vector[Data]]] with Product with Serializable

    Permalink

    Used to continue streaming after initiating a streaming result with the EvaluatePlan operation.

  8. final class Ops[S[_]] extends LiftedOps[QueryFile, S]

    Permalink
  9. final case class ResultHandle(run: slamdata.Predef.Long) extends AnyVal with Product with Serializable

    Permalink
  10. class Transforms[F[_]] extends AnyRef

    Permalink
  11. final class Unsafe[S[_]] extends LiftedOps[QueryFile, S]

    Permalink

    Low-level, unsafe operations.

    Low-level, unsafe operations. Clients are responsible for resource-safety when using these.

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 Ops

    Permalink
  5. object ResultHandle extends Serializable

    Permalink
  6. object Transforms

    Permalink
  7. object Unsafe

    Permalink
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def convertAndNormalize[T[_[_]], QS[_]](lp: T[LogicalPlan])(eval: (QS[T[QS]]) ⇒ QS[T[QS]])(implicit arg0: BirecursiveT[T], arg1: EqualT[T], arg2: ShowT[T], arg3: Traverse[QS], arg4: Normalizable[QS], CQ: Aux[T, QS, QS], DE: :<:[[β$0$]Const[DeadEnd, β$0$], QS], QC: :<:[[β$1$]QScriptCore[T, β$1$], QS], TJ: :<:[[β$2$]ThetaJoin[T, β$2$], QS], PB: :<:[[β$3$]ProjectBucket[T, β$3$], QS], FI: Aux[QS, [β$4$]Coproduct[[β$0$]QScriptCore[T, β$0$], [β$1$]Coproduct[[β$2$]ProjectBucket[T, β$2$], [β$3$]Coproduct[[β$4$]ThetaJoin[T, β$4$], [β$5$]Coproduct[[β$6$]EquiJoin[T, β$6$], [β$7$]Coproduct[[β$8$]Const[ShiftedRead[Path[Abs, Dir, Sandboxed]], β$8$], [β$9$]Coproduct[[β$10$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$10$], [β$11$]Coproduct[[β$12$]Const[Read[Path[Abs, Dir, Sandboxed]], β$12$], [β$13$]Coproduct[[β$14$]Const[Read[Path[Abs, File, Sandboxed]], β$14$], [β$15$]Const[DeadEnd, β$15$], β$13$], β$11$], β$9$], β$7$], β$5$], β$3$], β$1$], β$4$]], mergeable: Aux[T, QS], render: Delay[RenderTree, QS], eq: Delay[Equal, QS], show: Delay[Show, QS]): \/[PlannerError, T[QS]]

    Permalink
  11. def convertToQScript[T[_[_]], QS[_]](lp: T[LogicalPlan])(implicit arg0: BirecursiveT[T], arg1: EqualT[T], arg2: RenderTreeT[T], arg3: ShowT[T], arg4: Traverse[QS], arg5: Normalizable[QS], CQ: Aux[T, QS, QS], PA: PruneArrays[QS], DE: :<:[[β$23$]Const[DeadEnd, β$23$], QS], QC: :<:[[β$24$]QScriptCore[T, β$24$], QS], TJ: :<:[[β$25$]ThetaJoin[T, β$25$], QS], FI: Aux[QS, [β$26$]Coproduct[[β$0$]QScriptCore[T, β$0$], [β$1$]Coproduct[[β$2$]ProjectBucket[T, β$2$], [β$3$]Coproduct[[β$4$]ThetaJoin[T, β$4$], [β$5$]Coproduct[[β$6$]EquiJoin[T, β$6$], [β$7$]Coproduct[[β$8$]Const[ShiftedRead[Path[Abs, Dir, Sandboxed]], β$8$], [β$9$]Coproduct[[β$10$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$10$], [β$11$]Coproduct[[β$12$]Const[Read[Path[Abs, Dir, Sandboxed]], β$12$], [β$13$]Coproduct[[β$14$]Const[Read[Path[Abs, File, Sandboxed]], β$14$], [β$15$]Const[DeadEnd, β$15$], β$13$], β$11$], β$9$], β$7$], β$5$], β$3$], β$1$], β$26$]], show: Delay[Show, QS], renderI: Delay[RenderTree, [β$27$]Coproduct[[β$12$]QScriptCore[T, β$12$], [A]Coproduct[[β$9$]ProjectBucket[T, β$9$], [A]Coproduct[[β$10$]ThetaJoin[T, β$10$], [β$11$]Const[DeadEnd, β$11$], A], A], β$27$]], render: Delay[RenderTree, QS]): EitherT[[β$28$]WriterT[[X]X, Vector[PhaseResult], β$28$], FileSystemError, T[QS]]

    Permalink

    This is a stop-gap function that QScript-based backends should use until LogicalPlan no longer needs to be exposed.

  12. def convertToQScriptRead[T[_[_]], M[_], QS[_]](listContents: qscript.DiscoverPath.ListContents[M])(lp: T[LogicalPlan])(implicit arg0: BirecursiveT[T], arg1: EqualT[T], arg2: RenderTreeT[T], arg3: ShowT[T], arg4: Monad[M], arg5: Traverse[QS], arg6: Normalizable[QS], merr: MonadError_[M, FileSystemError], mtell: MonadTell_[M, PhaseResults], RD: :<:[[β$32$]Const[Read[Path[Abs, Dir, Sandboxed]], β$32$], QS], RF: :<:[[β$33$]Const[Read[Path[Abs, File, Sandboxed]], β$33$], QS], QC: :<:[[β$34$]QScriptCore[T, β$34$], QS], TJ: :<:[[β$35$]ThetaJoin[T, β$35$], QS], CQ: Aux[T, QS, QS], PA: PruneArrays[QS], FI: Aux[QS, [β$36$]Coproduct[[β$0$]QScriptCore[T, β$0$], [β$1$]Coproduct[[β$2$]ProjectBucket[T, β$2$], [β$3$]Coproduct[[β$4$]ThetaJoin[T, β$4$], [β$5$]Coproduct[[β$6$]EquiJoin[T, β$6$], [β$7$]Coproduct[[β$8$]Const[ShiftedRead[Path[Abs, Dir, Sandboxed]], β$8$], [β$9$]Coproduct[[β$10$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$10$], [β$11$]Coproduct[[β$12$]Const[Read[Path[Abs, Dir, Sandboxed]], β$12$], [β$13$]Coproduct[[β$14$]Const[Read[Path[Abs, File, Sandboxed]], β$14$], [β$15$]Const[DeadEnd, β$15$], β$13$], β$11$], β$9$], β$7$], β$5$], β$3$], β$1$], β$36$]], show: Delay[Show, QS], renderI: Delay[RenderTree, [β$37$]Coproduct[[β$12$]QScriptCore[T, β$12$], [A]Coproduct[[β$9$]ProjectBucket[T, β$9$], [A]Coproduct[[β$10$]ThetaJoin[T, β$10$], [β$11$]Const[DeadEnd, β$11$], A], A], β$37$]], render: Delay[RenderTree, QS]): M[T[QS]]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. implicit def qScriptInternalToQscriptTotal[T[_[_]]]: Aux[[β$13$]Coproduct[[β$12$]QScriptCore[T, β$12$], [A]Coproduct[[β$9$]ProjectBucket[T, β$9$], [A]Coproduct[[β$10$]ThetaJoin[T, β$10$], [β$11$]Const[DeadEnd, β$11$], A], A], β$13$], [β$14$]Coproduct[[β$0$]QScriptCore[T, β$0$], [β$1$]Coproduct[[β$2$]ProjectBucket[T, β$2$], [β$3$]Coproduct[[β$4$]ThetaJoin[T, β$4$], [β$5$]Coproduct[[β$6$]EquiJoin[T, β$6$], [β$7$]Coproduct[[β$8$]Const[ShiftedRead[Path[Abs, Dir, Sandboxed]], β$8$], [β$9$]Coproduct[[β$10$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$10$], [β$11$]Coproduct[[β$12$]Const[Read[Path[Abs, Dir, Sandboxed]], β$12$], [β$13$]Coproduct[[β$14$]Const[Read[Path[Abs, File, Sandboxed]], β$14$], [β$15$]Const[DeadEnd, β$15$], β$13$], β$11$], β$9$], β$7$], β$5$], β$3$], β$1$], β$14$]]

    Permalink
  23. implicit def renderTree[A]: RenderTree[QueryFile[A]]

    Permalink
  24. def simplifyAndNormalize[T[_[_]], IQS[_], QS[_]](implicit arg0: BirecursiveT[T], arg1: EqualT[T], arg2: ShowT[T], arg3: Functor[IQS], arg4: Traverse[QS], arg5: Normalizable[QS], CI: Aux[T, IQS, IQS], CQ: Aux[T, QS, QS], SP: Aux[IQS, QS], PA: PruneArrays[QS], QC: :<:[[β$6$]QScriptCore[T, β$6$], QS], TJ: :<:[[β$7$]ThetaJoin[T, β$7$], QS], FI: Aux[QS, [β$8$]Coproduct[[β$0$]QScriptCore[T, β$0$], [β$1$]Coproduct[[β$2$]ProjectBucket[T, β$2$], [β$3$]Coproduct[[β$4$]ThetaJoin[T, β$4$], [β$5$]Coproduct[[β$6$]EquiJoin[T, β$6$], [β$7$]Coproduct[[β$8$]Const[ShiftedRead[Path[Abs, Dir, Sandboxed]], β$8$], [β$9$]Coproduct[[β$10$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$10$], [β$11$]Coproduct[[β$12$]Const[Read[Path[Abs, Dir, Sandboxed]], β$12$], [β$13$]Coproduct[[β$14$]Const[Read[Path[Abs, File, Sandboxed]], β$14$], [β$15$]Const[DeadEnd, β$15$], β$13$], β$11$], β$9$], β$7$], β$5$], β$3$], β$1$], β$8$]]): (T[IQS]) ⇒ T[QS]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped