Enum AggregationLevel

java.lang.Object
java.lang.Enum<AggregationLevel>
com.mongodb.client.model.AggregationLevel
All Implemented Interfaces:
Serializable, Comparable<AggregationLevel>, java.lang.constant.Constable

@Deprecated public enum AggregationLevel extends Enum<AggregationLevel>
Deprecated.
The aggregation level Where an aggregation command should take place.
Since:
3.10
  • Enum Constant Details

    • DATABASE

      public static final AggregationLevel DATABASE
      Deprecated.
      Database level aggregation
    • COLLECTION

      public static final AggregationLevel COLLECTION
      Deprecated.
      Collection level aggregation
  • Method Details

    • values

      public static AggregationLevel[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AggregationLevel valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null