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. def _readableState: ReadableState
    Definition Classes
    Readable
  6. 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)

  7. def addListener(eventName: String, listener: Function): GridFSBucketReadStream.this.type
    Definition Classes
    IEventEmitter
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val domain: String
    Definition Classes
    IEventEmitter
  11. def emit(name: String, args: Any*): Any
    Definition Classes
    IEventEmitter
  12. 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

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

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