c

io.scalajs.npm.mongodb.gridfs

GridFSBucketReadStream

class GridFSBucketReadStream extends Object with Readable

GridFS Bucket Read Stream

Annotations
@RawJSType() @native() @JSImport( "mongodb" , "GridFSBucketReadStream" )
See also

http://mongodb.github.io/node-mongodb-native/2.1/api/GridFSBucketReadStream.html
Linear Supertypes
Readable, IEventEmitter, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridFSBucketReadStream
  2. Readable
  3. IEventEmitter
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GridFSBucketReadStream(chunks: Collection, files: Collection, readPreference: Any, filter: Any, options: |[ReadStreamOptions, RawOptions])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _read(size: Int): Unit
    Definition Classes
    Readable
  5. val _read: Function
    Definition Classes
    Readable
  6. def _readableState: ReadableState
    Definition Classes
    Readable
  7. def abort(callback: Function): Unit

    Marks this stream as aborted (will never push another data event) and kills the underlying cursor.

    Marks this stream as aborted (will never push another data event) and kills the underlying cursor. Will emit the 'end' event, and then the 'close' event once the cursor is successfully killed.

    callback

    called when the cursor is successfully closed or an error occurred.

    Example:
    1. abort(callback)

  8. def addListener(eventName: String, listener: Function): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val domain: String
    Definition Classes
    IEventEmitter
  12. def emit(name: String, args: Any*): Any
    Definition Classes
    IEventEmitter
  13. def end(offset: Int): GridFSBucketReadStream

    Sets the 0-based offset in bytes to start streaming from.

    Sets the 0-based offset in bytes to start streaming from. Throws an error if this stream has entered flowing mode (e.g. if you've already called on('data'))

    offset

    the offset in bytes to stop reading at

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  18. def getMaxListeners(): Int
    Definition Classes
    IEventEmitter
  19. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def isPaused(): Boolean
    Definition Classes
    Readable
  23. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  24. def listenerCount(eventName: String): Int
    Definition Classes
    IEventEmitter
  25. def listeners(eventName: String): Array[Function]
    Definition Classes
    IEventEmitter
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  29. def on(eventName: String, listener: Function): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  30. def once(eventName: String, listener: Function): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  31. def pause(): GridFSBucketReadStream.this.type
    Definition Classes
    Readable
  32. def pipe(destination: Writable, options: |[ReadablePipeOptions, RawOptions]): GridFSBucketReadStream.this.type
    Definition Classes
    Readable
  33. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  34. def push(chunk: Buffer): Boolean
    Definition Classes
    Readable
  35. def push(chunk: String, encoding: String): Boolean
    Definition Classes
    Readable
  36. def read[T](size: Int): T
    Definition Classes
    Readable
  37. def removeAllListeners(): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  38. def removeAllListeners(eventName: String): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  39. def removeListener(eventName: String, listener: Function): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  40. def resume(): GridFSBucketReadStream.this.type
    Definition Classes
    Readable
  41. def setEncoding(encoding: String): GridFSBucketReadStream.this.type
    Definition Classes
    Readable
  42. def setMaxListeners(n: Int): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  43. def start(offset: Int): GridFSBucketReadStream

    Sets the 0-based offset in bytes to start streaming from.

    Sets the 0-based offset in bytes to start streaming from. Throws an error if this stream has entered flowing mode (e.g. if you've already called on('data'))

    offset

    the offset in bytes to start reading at

  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. def toLocaleString(): String
    Definition Classes
    Object
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def unpipe(destination: Writable): Unit
    Definition Classes
    Readable
  48. def unshift(chunk: Any): Unit
    Definition Classes
    Readable
  49. val usingDomains: Boolean
    Definition Classes
    IEventEmitter
  50. def valueOf(): Any
    Definition Classes
    Object
  51. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def wrap(stream: Any): Unit
    Definition Classes
    Readable

Inherited from Readable

Inherited from IEventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped