object CreateIndexCommitQuorum
The commit quorum specifies how many data-bearing members of a replica set, including the primary, must complete the index builds successfully before the primary marks the indexes as ready.
- Since
4.1
- Alphabetic
- By Inheritance
- CreateIndexCommitQuorum
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 MAJORITY: com.mongodb.CreateIndexCommitQuorum
A create index commit quorum of majority.
- î
val VOTING_MEMBERS: com.mongodb.CreateIndexCommitQuorum
A create index commit quorum of voting members.
- î
final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- î
def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- î
def create(w: Int): com.mongodb.CreateIndexCommitQuorum
Create a create index commit quorum with a w value.
Create a create index commit quorum with a w value.
- w
the w value
- î
def create(mode: String): com.mongodb.CreateIndexCommitQuorum
Create a create index commit quorum with a mode value.
Create a create index commit quorum with a mode value.
- mode
the mode value
- î
final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef â Any
- î
final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
def hashCode(): Int
- Definition Classes
- AnyRef â Any
- Annotations
- @IntrinsicCandidate() @native()
- î
final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- î
final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- î
final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- î
final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- î
def toString(): String
- Definition Classes
- AnyRef â Any
- î
final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- î
final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- î
final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- î
def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
This is the documentation for the MongoDB Scala driver.
Driver structure
The mongodb scala driver.
To get started you need a MongoClient instance, either from a connection string or via a org.mongodb.scala.MongoClientSettings.
Notable packages include: