class GridStoreOptions extends Object
Grid Store Options
- Annotations
- @RawJSType() @ScalaJSDefined()
- Alphabetic
- By Inheritance
- GridStoreOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
GridStoreOptions(root: UndefOr[String] = js.undefined, content_type: UndefOr[String] = js.undefined, chunk_size: UndefOr[Int] = js.undefined, metadata: UndefOr[Object] = js.undefined, readPreference: UndefOr[String] = js.undefined, w: UndefOr[Any] = js.undefined, wtimeout: UndefOr[Int] = js.undefined, fsync: UndefOr[Boolean] = js.undefined, j: UndefOr[Boolean] = js.undefined)
- root
root collection to use. Defaults to GridStore.DEFAULT_ROOT_COLLECTION.
- content_type
mime type of the file. Defaults to GridStore.DEFAULT_CONTENT_TYPE.
- chunk_size
size for the chunk. Defaults to Chunk.DEFAULT_CHUNK_SIZE.
- metadata
arbitrary data the user wants to store.
- readPreference
the prefered read preference (ReadPreference.PRIMARY, ReadPreference.PRIMARY_PREFERRED, ReadPreference.SECONDARY, ReadPreference.SECONDARY_PREFERRED, ReadPreference.NEAREST).
- w
{Int/String, > -1 || ‘majority’ || tag name} the write concern for the operation where < 1 is no acknowlegement of write and w >= 1, w = ‘majority’ or tag acknowledges the write
- wtimeout
set the timeout for waiting for write concern to finish (combines with w option)
- fsync
write waits for fsync before returning, from MongoDB 2.6 on, fsync cannot be combined with journal (default: false)
- j
write waits for journal sync before returning (default: false)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var chunk_size: UndefOr[Int]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var content_type: UndefOr[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- var fsync: UndefOr[Boolean]
-
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
- var j: UndefOr[Boolean]
- var metadata: UndefOr[Object]
-
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
- var readPreference: UndefOr[String]
- var root: UndefOr[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
- var w: UndefOr[Any]
-
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( ... )
- var wtimeout: UndefOr[Int]