trait GridStoreClass extends Object

Grid Store Class

Annotations
@RawJSType() @native()
See also

https://mongodb.github.io/node-mongodb-native/api-generated/gridstore.html
Linear Supertypes
Object, Any, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridStoreClass
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val DEFAULT_CHUNK_SIZE: Int

    TODO document this property

  5. val DEFAULT_CONTENT_TYPE: String

    Default file mime type

  6. val DEFAULT_ROOT_COLLECTION: String

    The collection to be used for holding the files and chunks collection.

  7. val IO_SEEK_CUR: Int

    Seek mode where the given length is an offset to the current read/write head.

  8. val IO_SEEK_END: Int

    Seek mode where the given length is an offset to the end of the file.

  9. val IO_SEEK_SET: Int

    Seek mode where the given length is absolute.

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def exist(db: Db, name: String, callback: Function): Unit

    Checks if a file exists in the database.

    Checks if a file exists in the database.

    Example:
    1. GridStore.exist(db, name[, rootCollection], callback)

  15. def exist(db: Db, name: String, rootCollection: String, callback: Function): Unit

    Checks if a file exists in the database.

    Checks if a file exists in the database.

    Example:
    1. GridStore.exist(db, name[, rootCollection], callback)

  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 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 isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  22. def list(db: Db, callback: Function): Unit

    Gets the list of files stored in the GridFS.

    Gets the list of files stored in the GridFS.

    Example:
    1. GridStore.list(db[, rootCollection], callback)

  23. def list(db: Db, rootCollection: String, callback: Function): Unit

    Gets the list of files stored in the GridFS.

    Gets the list of files stored in the GridFS.

    Example:
    1. GridStore.list(db[, rootCollection], callback)

  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  28. def read(db: Db, name: String, length: Int, offset: Int, options: GridStoreOptions, callback: Function): Unit

    Reads the contents of a file.

    Reads the contents of a file.

    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  29. def read(db: Db, name: String, length: Int, offset: Int, callback: Function): Unit

    Reads the contents of a file.

    Reads the contents of a file.

    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  30. def read(db: Db, name: String, length: Int, callback: Function): Unit

    Reads the contents of a file.

    Reads the contents of a file.

    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  31. def read(db: Db, name: String, callback: Function): Unit

    Reads the contents of a file.

    Reads the contents of a file.

    Example:
    1. GridStore.read(db, name[, length][, offset][, options], callback)

  32. def readlines(db: Db, name: String, separator: String, options: GridStoreOptions, callback: Function): Unit

    Reads the data of this file.

    Reads the data of this file.

    Example:
    1. GridStore.readlines(db, name[, separator][, options], callback)

  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toLocaleString(): String
    Definition Classes
    Object
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def unlink(db: Db, names: String): Unit

    Deletes the chunks and metadata information of a file from GridFS.

    Deletes the chunks and metadata information of a file from GridFS.

    Example:
    1. GridStore.unlink(db, names[, options])

  37. def unlink(db: Db, names: String, options: GridStoreOptions): Unit

    Deletes the chunks and metadata information of a file from GridFS.

    Deletes the chunks and metadata information of a file from GridFS.

    Example:
    1. GridStore.unlink(db, names[, options])

  38. def valueOf(): Any
    Definition Classes
    Object
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped