package mongodb
- Alphabetic
- By Inheritance
- mongodb
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed abstract
class
Bson extends slamdata.Predef.Product with slamdata.Predef.Serializable
A type-safe ADT for Mongo's native data format.
A type-safe ADT for Mongo's native data format. Note that this representation is not suitable for efficiently storing large quantities of data.
- type BsonCursor = AsyncBatchCursor[BsonValue]
- sealed abstract class BsonField extends AnyRef
- sealed abstract class BsonType extends AnyRef
- sealed abstract class BsonVersion extends AnyRef
-
final
case class
Collection(database: DatabaseName, collection: CollectionName) extends Product with Serializable
Identifies a collection in a specific database.
Identifies a collection in a specific database. Sometimes referred to as a "namespace" in MongoDB docs.
- final case class CollectionName(value: slamdata.Predef.String) extends AnyVal with Product with Serializable
-
final
case class
CollectionStatistics(count: slamdata.Predef.Long, dataSize: slamdata.Predef.Long, sharded: slamdata.Predef.Boolean) extends Product with Serializable
A subset of the information available from the collStats command.
A subset of the information available from the collStats command. Many more fields are available, some only in particular MongoDB versions or with particular storage engines.
- count
The number of documents in the collection.
- dataSize
The total size "in memory" in bytes of all documents in the collection, not including headers or indexes.
- final case class DatabaseName(value: slamdata.Predef.String) extends AnyVal with Product with Serializable
- final case class Grouped[EX[_]](value: slamdata.Predef.ListMap[Name, AccumOp[Fix[EX]]]) extends Product with Serializable
- final case class Here[T[_[_]]]() extends InputFinder[T] with Product with Serializable
- final case class Index(name: slamdata.Predef.String, key: NonEmptyList[(BsonField, IndexType)], unique: slamdata.Predef.Boolean) extends Product with Serializable
- sealed abstract class IndexType extends AnyRef
- sealed abstract class InputFinder[T[_[_]]] extends AnyRef
- type JavaScriptLog[A] = WriterT[scalaz.Id.Id, JavaScriptPrg, A]
- type JavaScriptPrg = Vector[Stmt]
-
final
case class
MapReduce(map: Expr, reduce: Expr, selection: slamdata.Predef.Option[Selector] = None, inputSort: slamdata.Predef.Option[NonEmptyList[(BsonField, SortDir)]] = None, limit: slamdata.Predef.Option[slamdata.Predef.Long] = None, finalizer: slamdata.Predef.Option[Expr] = None, scope: Scope = ListMap(), jsMode: slamdata.Predef.Option[slamdata.Predef.Boolean] = None, verbose: slamdata.Predef.Option[slamdata.Predef.Boolean] = None) extends Product with Serializable
Configuration parameters for MapReduce operations
Configuration parameters for MapReduce operations
- map
The mapping function
- reduce
The reducing function
- selection
Query selector to apply to input documents
- inputSort
Criteria to use to sort the input documents.
- limit
Limit the number of input documents to
map
- finalizer
JavaScript function applied to the output after the
reduce
function.- scope
Global variables made available to the
map
,reduce
andfinalizer
functions.- jsMode
Whether to avoid converting intermediate values to BSON, leaving them as JavaScript objects instead. Setting this to
true
has implications on the size of the input, see the MongoDBmapReduce
documentation for details.- verbose
Whether to include additional information, such as timing, in the results.
- Annotations
- @SuppressWarnings()
- final class MongoDbIO[A] extends AnyRef
- type MongoErrT[F[_], A] = EitherT[F, PhysicalError, A]
- sealed abstract class MongoQueryModel extends AnyRef
- sealed abstract class RenameSemantics extends AnyRef
- final case class Reshape[EX[_]](value: slamdata.Predef.ListMap[Name, Shape[EX]]) extends Product with Serializable
- sealed abstract class Selector extends AnyRef
- final case class ServerVersion(major: slamdata.Predef.Int, minor: slamdata.Predef.Int, revision: slamdata.Predef.Option[slamdata.Predef.Int], extra: slamdata.Predef.String) extends Product with Serializable
- final case class There[T[_[_]]](index: slamdata.Predef.Int, next: InputFinder[T]) extends InputFinder[T] with Product with Serializable
- sealed abstract class WorkflowBuilderF[F[_], +A] extends slamdata.Predef.Product with slamdata.Predef.Serializable
- type WorkflowExecErrT[F[_], A] = EitherT[F, WorkflowExecutionError, A]
-
sealed abstract
class
WorkflowExecutionError extends AnyRef
Error conditions possible during
Workflow
execution. - final case class javascript[R](embed: (JsCoreF[R]) ⇒ R) extends Product with Serializable
Value Members
- implicit def equiJoinToQScript[T[_[_]]]: Aux[[β$6$]EquiJoin[T, β$6$], [A]Coproduct[[β$5$]QScriptCore[T, β$5$], [A]Coproduct[[β$3$]EquiJoin[T, β$3$], [β$4$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$4$], A], A]]
- def freshName: State[NameGen, Name]
- implicit def qScriptCoreToQScript[T[_[_]]]: Aux[[β$4$]QScriptCore[T, β$4$], [A]Coproduct[[β$5$]QScriptCore[T, β$5$], [A]Coproduct[[β$3$]EquiJoin[T, β$3$], [β$4$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$4$], A], A]]
- implicit def qScriptToQScriptTotal[T[_[_]]]: Aux[[A]Coproduct[[β$5$]QScriptCore[T, β$5$], [A]Coproduct[[β$3$]EquiJoin[T, β$3$], [β$4$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$4$], A], A], [β$0$]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$], β$0$]]
- implicit def shiftedReadToQScript[T[_[_]]]: Aux[[β$8$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$8$], [A]Coproduct[[β$5$]QScriptCore[T, β$5$], [A]Coproduct[[β$3$]EquiJoin[T, β$3$], [β$4$]Const[ShiftedRead[Path[Abs, File, Sandboxed]], β$4$], A], A]]
- def sortDirToBson(sort: SortDir): Bson
- object Bson extends Serializable
- object BsonCodec
- object BsonField
- object BsonType
- object BsonVersion
- object Collection extends Serializable
- object CollectionName extends Serializable
- object DatabaseName extends Serializable
- object Grouped extends Serializable
- object IndexType
- object MapReduce extends Serializable
- object MongoDb extends BackendModule with ManagedReadFile[BsonCursor] with ManagedWriteFile[Collection] with DefaultAnalyzeModule
- object MongoDbIO
- object MongoDbPlanner
- object MongoQueryModel
- object RenameSemantics
- object Reshape extends Serializable
- object Selector
- object ServerVersion extends Serializable
- object WorkflowBuilder
- object WorkflowBuilderF extends Serializable
- object WorkflowExecutionError
- object WorkflowExecutor
- object bsonvalue
- object mongoiterable
-
object
sigil
MongoDB Document keys posessing special meaning.
- object util