public static enum QueryConfiguration.Type extends Enum<QueryConfiguration.Type>
Enum Constant and Description |
---|
AGGREGATE
Calculates aggregate values for the data in a collection or a view.
|
DELETE_MANY
Removes all documents that match the filter from a collection.
|
DELETE_ONE
Removes a single document from a collection.
|
FIND
Selects documents in a collection or view.
|
INSERT
Inserts a document or documents into a collection.
|
REPLACE_ONE
Replaces a single document within the collection based on the filter.
|
UPDATE_MANY
Updates all documents that match the specified filter for a collection.
|
UPDATE_ONE
Updates a single document within the collection based on the filter.
|
Modifier and Type | Method and Description |
---|---|
static QueryConfiguration.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryConfiguration.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryConfiguration.Type FIND
public static final QueryConfiguration.Type INSERT
public static final QueryConfiguration.Type REPLACE_ONE
public static final QueryConfiguration.Type UPDATE_ONE
public static final QueryConfiguration.Type UPDATE_MANY
public static final QueryConfiguration.Type DELETE_ONE
public static final QueryConfiguration.Type DELETE_MANY
public static final QueryConfiguration.Type AGGREGATE
public static QueryConfiguration.Type[] values()
for (QueryConfiguration.Type c : QueryConfiguration.Type.values()) System.out.println(c);
public static QueryConfiguration.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.