Class/Object

reactivemongo.play.iteratees

GridFS

Related Docs: object GridFS | package iteratees

Permalink

final class GridFS[P <: SerializationPack with Singleton] extends api.gridfs.GridFS[P]

Linear Supertypes
api.gridfs.GridFS[P], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridFS
  2. GridFS
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ReadFile[Id <: P.Value] = api.gridfs.ReadFile[P, Id]

    Permalink
    Definition Classes
    GridFS

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to any2stringadd[GridFS[P]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (GridFS[P], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to ArrowAssoc[GridFS[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val chunks: GenericCollection[P]

    Permalink
    Definition Classes
    GridFS
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def defaultReadPreference: ReadPreference

    Permalink
    Definition Classes
    GridFS
    Annotations
    @inline()
  10. def ensureIndex()(implicit ec: ExecutionContext): Future[Boolean]

    Permalink
    Definition Classes
    GridFS
  11. def ensuring(cond: (GridFS[P]) ⇒ Boolean, msg: ⇒ Any): GridFS[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to Ensuring[GridFS[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (GridFS[P]) ⇒ Boolean): GridFS[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to Ensuring[GridFS[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): GridFS[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to Ensuring[GridFS[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): GridFS[P]

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to Ensuring[GridFS[P]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def enumerate[Id <: P.Value](file: ReadFile[Id])(implicit ec: ExecutionContext, idProducer: IdProducer[Id]): Enumerator[Array[Byte]]

    Permalink

    Produces an enumerator of chunks of bytes from the chunks collection matching the given file metadata.

    Produces an enumerator of chunks of bytes from the chunks collection matching the given file metadata.

    file

    the file to be read

    Definition Classes
    GridFS → GridFS
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val files: GenericCollection[P]

    Permalink
    Definition Classes
    GridFS
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def find[S, T <: ReadFile[_]](selector: S)(implicit sWriter: P.Writer[S], readFileReader: P.Reader[T], ec: ExecutionContext, cp: CursorProducer[T]): ProducedCursor

    Permalink
    Definition Classes
    GridFS
  21. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to StringFormat[GridFS[P]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  25. def iteratee[Id <: P.Value](file: FileToSave[pack.type, Id], chunkSize: Int = 262144)(implicit readFileReader: P.Reader[ReadFile[Id]], ec: ExecutionContext, idProducer: IdProducer[Id], docWriter: BSONDocumentWriter[P.Document]): Iteratee[Array[Byte], Future[ReadFile[Id]]]

    Permalink
    Definition Classes
    GridFS → GridFS
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  29. val pack: api.collections.GenericCollection.pack.type

    Permalink
    Definition Classes
    GridFS
  30. def readToOutputStream[Id <: P.Value](file: ReadFile[Id], out: OutputStream)(implicit ec: ExecutionContext, idProducer: IdProducer[Id]): Future[Unit]

    Permalink
    Definition Classes
    GridFS
  31. def remove[Id <: P.Value](id: Id)(implicit ec: ExecutionContext, idProducer: IdProducer[Id]): Future[WriteResult]

    Permalink
    Definition Classes
    GridFS
  32. def remove[Id <: P.Value](file: BasicMetadata[Id])(implicit ec: ExecutionContext, idProducer: IdProducer[Id]): Future[WriteResult]

    Permalink
    Definition Classes
    GridFS
  33. def save[Id <: P.Value](enumerator: Enumerator[Array[Byte]], file: FileToSave[pack.type, Id], chunkSize: Int = 262144)(implicit readFileReader: P.Reader[ReadFile[Id]], ec: ExecutionContext, idProducer: IdProducer[Id], docWriter: BSONDocumentWriter[P.Document]): Future[ReadFile[Id]]

    Permalink

    Saves the content provided by the given enumerator with the given metadata.

    Saves the content provided by the given enumerator with the given metadata.

    enumerator

    Producer of content.

    file

    Metadata of the file to store.

    chunkSize

    Size of the chunks. Defaults to 256kB.

    returns

    A future of a ReadFile[Id].

    Definition Classes
    GridFS → GridFS
  34. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def writeFromInputStream[Id <: P.Value](file: FileToSave[pack.type, Id], input: InputStream, chunkSize: Int)(implicit readFileReader: P.Reader[ReadFile[Id]], ec: ExecutionContext, idProducer: IdProducer[Id], docWriter: BSONDocumentWriter[api.gridfs.GridFS.P.Document]): Future[ReadFile[Id]]

    Permalink
    Definition Classes
    GridFS
  40. def [B](y: B): (GridFS[P], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from GridFS[P] to ArrowAssoc[GridFS[P]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def iterateeWithMD5[Id <: P.Value](file: FileToSave[pack.type, Id], chunkSize: Int)(implicit readFileReader: P.Reader[ReadFile[Id]], ec: ExecutionContext, idProducer: IdProducer[Id], docWriter: BSONDocumentWriter[api.gridfs.GridFS.P.Document]): Iteratee[Array[Byte], Future[ReadFile[Id]]]

    Permalink
    Definition Classes
    GridFS
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Will be moved to reactivemongo.play.iteratees.GridFS

  2. def saveWithMD5[Id <: P.Value](enumerator: Enumerator[Array[Byte]], file: FileToSave[pack.type, Id], chunkSize: Int)(implicit readFileReader: P.Reader[ReadFile[Id]], ec: ExecutionContext, idProducer: IdProducer[Id], docWriter: BSONDocumentWriter[api.gridfs.GridFS.P.Document]): Future[ReadFile[Id]]

    Permalink
    Definition Classes
    GridFS
    Annotations
    @deprecated
    Deprecated

    (Since version 0.17.0) Will be moved to reactivemongo.play.iteratees.GridFS

Inherited from api.gridfs.GridFS[P]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from GridFS[P] to any2stringadd[GridFS[P]]

Inherited by implicit conversion StringFormat from GridFS[P] to StringFormat[GridFS[P]]

Inherited by implicit conversion Ensuring from GridFS[P] to Ensuring[GridFS[P]]

Inherited by implicit conversion ArrowAssoc from GridFS[P] to ArrowAssoc[GridFS[P]]

Ungrouped