object GridStore extends Object with GridStoreClass
Grid Store Companion
- Annotations
- @native() @JSName( "GridStore" )
- Alphabetic
- By Inheritance
- GridStore
- GridStoreClass
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
DEFAULT_CHUNK_SIZE: Int
TODO document this property
TODO document this property
- Definition Classes
- GridStoreClass
-
val
DEFAULT_CONTENT_TYPE: String
Default file mime type
Default file mime type
- Definition Classes
- GridStoreClass
-
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
-
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
-
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
-
val
IO_SEEK_SET: Int
Seek mode where the given length is absolute.
Seek mode where the given length is absolute.
- Definition Classes
- GridStoreClass
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
GridStore.exist(db, name[, rootCollection], callback)
Example: -
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
GridStore.exist(db, name[, rootCollection], callback)
Example: -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
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
GridStore.list(db[, rootCollection], callback)
Example: -
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
GridStore.list(db[, rootCollection], callback)
Example: -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
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
GridStore.read(db, name[, length][, offset][, options], callback)
Example: -
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
GridStore.read(db, name[, length][, offset][, options], callback)
Example: -
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
GridStore.read(db, name[, length][, offset][, options], callback)
Example: -
def
read(db: Db, name: String, callback: Function): Unit
Reads the contents of a file.
Reads the contents of a file.
- Definition Classes
- GridStoreClass
GridStore.read(db, name[, length][, offset][, options], callback)
Example: -
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
GridStore.readlines(db, name[, separator][, options], callback)
Example: -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
GridStore.unlink(db, names[, options])
Example: -
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
GridStore.unlink(db, names[, options])
Example: -
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )