Class BulkWriteOptions
java.lang.Object
io.vertx.ext.mongo.BulkWriteOptions
Options for configuring bulk write operations.
- Author:
- sschmitt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorBulkWriteOptions(boolean ordered) Constructor specifying orderedBulkWriteOptions(JsonObject json) Constructor from JSONBulkWriteOptions(BulkWriteOptions other) Copy constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the write optioninthashCode()booleanGet whether the operations will be executed in the given ordersetOrdered(boolean ordered) Set the ordered optionsetWriteOption(WriteOption writeOption) Set the write optiontoJson()toString()
-
Field Details
-
ORDERED
Field name for the ordered value in json representation- See Also:
-
WRITE_OPTION
Field name for the writeOption value in json representation- See Also:
-
DEFAULT_ORDERED
public static final boolean DEFAULT_ORDEREDThe default value of ordered = true- See Also:
-
-
Constructor Details
-
BulkWriteOptions
public BulkWriteOptions()Default constructor -
BulkWriteOptions
public BulkWriteOptions(boolean ordered) Constructor specifying ordered- Parameters:
ordered- the value of ordered
-
BulkWriteOptions
Copy constructor- Parameters:
other- the one to copy
-
BulkWriteOptions
-
-
Method Details
-
toJson
-
getWriteOption
-
setWriteOption
Set the write option- Parameters:
writeOption- the write option- Returns:
- fluent reference to this
-
isOrdered
public boolean isOrdered()Get whether the operations will be executed in the given order- Returns:
- if ordered is enabled
-
setOrdered
Set the ordered option- Parameters:
ordered- the ordered option- Returns:
- fluent reference to this
-
equals
-
hashCode
-
toString
-