object GridStore extends Object with GridStoreClass

Grid Store Companion

Annotations
@native() @JSName( "GridStore" )
Linear Supertypes
GridStoreClass, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GridStore
  2. GridStoreClass
  3. Object
  4. Any
  5. AnyRef
  6. 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

    TODO document this property

    Definition Classes
    GridStoreClass
  5. val DEFAULT_CONTENT_TYPE: String

    Default file mime type

    Default file mime type

    Definition Classes
    GridStoreClass
  6. val DEFAULT_ROOT_COLLECTION: String

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

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

    Definition Classes
    GridStoreClass
  7. val IO_SEEK_CUR: Int

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

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

    Definition Classes
    GridStoreClass
  8. val IO_SEEK_END: Int

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

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

    Definition Classes
    GridStoreClass
  9. val IO_SEEK_SET: Int

    Seek mode where the given length is absolute.

    Seek mode where the given length is absolute.

    Definition Classes
    GridStoreClass
  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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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.

    Definition Classes
    GridStoreClass
    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 GridStoreClass

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped