Package org.restheart.exchange
Enum ExchangeKeys.DOC_ID_TYPE
- java.lang.Object
-
- java.lang.Enum<ExchangeKeys.DOC_ID_TYPE>
-
- org.restheart.exchange.ExchangeKeys.DOC_ID_TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<ExchangeKeys.DOC_ID_TYPE>
- Enclosing interface:
- ExchangeKeys
public static enum ExchangeKeys.DOC_ID_TYPE extends Enum<ExchangeKeys.DOC_ID_TYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANbooleanDATEDateMAXKEYorg.bson.types.MaxKeyMINKEYorg.bson.types.MinKey;NULLnullNUMBERany Number (including mongodb NumberLong)OIDObjectIdSTRINGStringSTRING_OIDString eventually converted to ObjectId in case ObjectId.isValid() is true
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExchangeKeys.DOC_ID_TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static ExchangeKeys.DOC_ID_TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OID
public static final ExchangeKeys.DOC_ID_TYPE OID
ObjectId
-
STRING_OID
public static final ExchangeKeys.DOC_ID_TYPE STRING_OID
String eventually converted to ObjectId in case ObjectId.isValid() is true
-
STRING
public static final ExchangeKeys.DOC_ID_TYPE STRING
String
-
NUMBER
public static final ExchangeKeys.DOC_ID_TYPE NUMBER
any Number (including mongodb NumberLong)
-
DATE
public static final ExchangeKeys.DOC_ID_TYPE DATE
Date
-
MINKEY
public static final ExchangeKeys.DOC_ID_TYPE MINKEY
org.bson.types.MinKey;
-
MAXKEY
public static final ExchangeKeys.DOC_ID_TYPE MAXKEY
org.bson.types.MaxKey
-
NULL
public static final ExchangeKeys.DOC_ID_TYPE NULL
null
-
BOOLEAN
public static final ExchangeKeys.DOC_ID_TYPE BOOLEAN
boolean
-
-
Method Detail
-
values
public static ExchangeKeys.DOC_ID_TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExchangeKeys.DOC_ID_TYPE c : ExchangeKeys.DOC_ID_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExchangeKeys.DOC_ID_TYPE 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 nameNullPointerException- if the argument is null
-
-