public static class Schema.ModifyCollectionOptions extends Object
Schema.modifyCollection(String, ModifyCollectionOptions)
. Options are defined by Schema.Validation
object.
Example:
schema.modifyCollection(collName1, new ModifyCollectionOptions().setValidation(new Validation().setLevel(ValidationLevel.OFF)));
Modifier and Type | Field and Description |
---|---|
private Schema.Validation |
validation |
Constructor and Description |
---|
ModifyCollectionOptions() |
Modifier and Type | Method and Description |
---|---|
Schema.Validation |
getValidation() |
Schema.ModifyCollectionOptions |
setValidation(Schema.Validation validation) |
private Schema.Validation validation
public Schema.ModifyCollectionOptions setValidation(Schema.Validation validation)
public Schema.Validation getValidation()