Package

quasar.physical.marklogic

fs

Permalink

package fs

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

Type Members

  1. type MLFS[A] = WriterT[[β$2$]Free[[A]Coproduct[[A]Read[UUID, A], [A]Coproduct[[A]KeyValueStore[ReadHandle, Process[[A]EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A], \/[FileSystemError, Vector[Data]]], A], [A]Coproduct[[A]KeyValueStore[ResultHandle, Process[[A]EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A], \/[FileSystemError, Vector[Data]]], A], [A]Coproduct[[A]KeyValueStore[WriteHandle, Unit, A], [A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], A], A], A], A], β$2$], Prologs, A]

    Permalink
  2. type MLFSQ[A] = EitherT[MLFS, MarkLogicPlannerError, A]

    Permalink
  3. type MLReadHandles[A] = KeyValueStore[ReadHandle, XccDataStream, A]

    Permalink
  4. type MLResultHandles[A] = KeyValueStore[ResultHandle, XccDataStream, A]

    Permalink
  5. type MLWriteHandles[A] = KeyValueStore[WriteHandle, slamdata.Predef.Unit, A]

    Permalink
  6. final case class MarkLogicConfig(xccUri: URI, rootDir: ADir, docType: DocType) extends Product with Serializable

    Permalink
  7. type MarkLogicFs[A] = Coproduct[[A]Read[UUID, A], [A]Coproduct[[A]KeyValueStore[ReadHandle, Process[[A]EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A], \/[FileSystemError, Vector[Data]]], A], [A]Coproduct[[A]KeyValueStore[ResultHandle, Process[[A]EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A], \/[FileSystemError, Vector[Data]]], A], [A]Coproduct[[A]KeyValueStore[WriteHandle, Unit, A], [A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], A], A], A], A]

    Permalink
  8. type XccContentSourceR[A] = Read[ContentSource, A]

    Permalink
  9. type XccDataStream = Process[XccEval, \/[FileSystemError, slamdata.Predef.Vector[Data]]]

    Permalink
  10. type XccEval[A] = EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A]

    Permalink
  11. type XccEvalEff[A] = Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A]

    Permalink
  12. type XccSessionR[A] = Read[Session, A]

    Permalink

Value Members

  1. val FsType: FileSystemType

    Permalink
  2. object MarkLogicConfig extends Serializable

    Permalink
  3. def contentSourceAt[F[_]](uri: URI)(implicit arg0: Capture[F]): F[ContentSource]

    Permalink

    The ContentSource located at the given URI.

  4. def contentSourceConnection[F[_]](connectionUri: ConnectionUri)(implicit arg0: Capture[F], arg1: Bind[F]): F[ContentSource]

    Permalink

    The ContentSource located at the given ConnectionUri.

  5. object data

    Permalink
  6. implicit val dataAsJsonContent: AsContent[Json, Data]

    Permalink
  7. implicit val dataAsXmlContent: AsContent[Xml, Data]

    Permalink
  8. def definition(readChunkSize: Positive, writeChunkSize: Positive): FileSystemDef[Task]

    Permalink
  9. def fileSystem[FMT](xccUri: URI, rootDir: ADir, readChunkSize: Positive, writeChunkSize: Positive)(implicit arg0: SearchOptions[FMT], C: AsContent[FMT, Data], P: qscript.Planner[MLFSQ, FMT, [β$4$]Coproduct[[β$3$]QScriptCore[Fix, β$3$], [A]Coproduct[[β$0$]ThetaJoin[Fix, β$0$], [A]Coproduct[[β$1$]Const[ShiftedRead[Path[Abs, Dir, Sandboxed]], β$1$], [β$2$]Const[Read[Path[Abs, File, Sandboxed]], β$2$], A], A], β$4$]], SP: StructuralPlanner[XccEval, FMT]): DefErrT[Task, DefinitionResult[Task]]

    Permalink

    The MarkLogic FileSystem definition.

    The MarkLogic FileSystem definition.

    FMT

    type representing the document format for the filesystem

    xccUri

    the URI describing the details of the connection to the XCC server

    rootDir

    the MarkLogic directory upon which to base the mount

    readChunkSize

    the size of a single chunk when streaming records from MarkLogic

    writeChunkSize

    the size of a single chunk when streaming records to MarkLogic

  10. object lib

    Permalink
  11. object managefile

    Permalink
  12. def mlPlannerErrorToFsError(mlerr: MarkLogicPlannerError): FileSystemError

    Permalink

    Converts MarkLogicPlannerErrors into FileSystemErrors.

  13. object ops

    Permalink
  14. def pathUri(path: APath): slamdata.Predef.String

    Permalink

    The URI representation of the given path.

  15. object queryfile

    Permalink
  16. object readfile

    Permalink
  17. def runMarkLogicFs(xccUri: URI): DefErrT[Task, (~>[[β$7$]Free[[A]Coproduct[[A]Read[UUID, A], [A]Coproduct[[A]KeyValueStore[ReadHandle, Process[[A]EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A], \/[FileSystemError, Vector[Data]]], A], [A]Coproduct[[A]KeyValueStore[ResultHandle, Process[[A]EitherT[[β$1$]WriterT[[β$0$]Free[[A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], β$0$], ISet[Prolog], β$1$], MarkLogicPlannerError, A], \/[FileSystemError, Vector[Data]]], A], [A]Coproduct[[A]KeyValueStore[WriteHandle, Unit, A], [A]Coproduct[Task, [A]Coproduct[MonotonicSeq, [A]Coproduct[[A]Read[Session, A], [A]Read[ContentSource, A], A], A], A], A], A], A], A], β$7$], Task], Task[slamdata.Predef.Unit])]

    Permalink
    Annotations
    @SuppressWarnings()
  18. def testXccConnection[F[_]](implicit arg0: Applicative[F], X: Xcc[F]): OptionT[F, EnvironmentError]

    Permalink

    Returns an error describing why an XCC connection failed or None if it is successful.

  19. object writefile

    Permalink
  20. val xccEvalToMLFSQ: ~>[XccEval, MLFSQ]

    Permalink

    Lift XccEval into MLFSQ.

  21. object xdmitem

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped