Enum MongoMethod

java.lang.Object
java.lang.Enum<MongoMethod>
org.apache.calcite.adapter.mongodb.MongoMethod
All Implemented Interfaces:
Serializable, Comparable<MongoMethod>, Constable

public enum MongoMethod extends Enum<MongoMethod>
Builtin methods in the MongoDB adapter.
  • Enum Constant Details

    • MONGO_QUERYABLE_FIND

      public static final MongoMethod MONGO_QUERYABLE_FIND
    • MONGO_QUERYABLE_AGGREGATE

      public static final MongoMethod MONGO_QUERYABLE_AGGREGATE
  • Field Details

    • method

      public final Method method
    • MAP

      public static final com.google.common.collect.ImmutableMap<Method,MongoMethod> MAP
  • Method Details

    • values

      public static MongoMethod[] values()
      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 MongoMethod valueOf(String name)
      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