public enum MongoOperator extends Enum<MongoOperator>
Enum Constant and Description |
---|
IN |
OP_AND |
OP_EQ |
OP_GT |
OP_GTEQ |
OP_LT |
OP_LTEQ |
OP_NOTEQ |
OP_OR |
REGEX |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static MongoOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MongoOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoOperator OP_EQ
public static final MongoOperator OP_NOTEQ
public static final MongoOperator OP_GT
public static final MongoOperator OP_GTEQ
public static final MongoOperator OP_LT
public static final MongoOperator OP_LTEQ
public static final MongoOperator OP_AND
public static final MongoOperator OP_OR
public static final MongoOperator REGEX
public static final MongoOperator IN
public static MongoOperator[] values()
for (MongoOperator c : MongoOperator.values()) System.out.println(c);
public static MongoOperator 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 nullpublic String getValue()
Copyright © 2016. All rights reserved.