public static enum MongoDB.MongoDBFormat extends Enum<MongoDB.MongoDBFormat>
| Enum Constant and Description |
|---|
BASIC_INTERACTION_META
The current default format, where each payload contains only basic interaction JSON document.
|
FULL_INTERACTION_META
The payload is a full interaction with augmentations.
|
FULL_INTERACTION_META_DATE
Each payload is a full interaction with augmentations and a MongoDB-specific date representation.
|
| Modifier and Type | Method and Description |
|---|---|
static MongoDB.MongoDBFormat |
fromStr(String str) |
static MongoDB.MongoDBFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MongoDB.MongoDBFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MongoDB.MongoDBFormat BASIC_INTERACTION_META
public static final MongoDB.MongoDBFormat FULL_INTERACTION_META
public static final MongoDB.MongoDBFormat FULL_INTERACTION_META_DATE
public static MongoDB.MongoDBFormat[] values()
for (MongoDB.MongoDBFormat c : MongoDB.MongoDBFormat.values()) System.out.println(c);
public static MongoDB.MongoDBFormat 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 static MongoDB.MongoDBFormat fromStr(String str)
Copyright © 2015. All Rights Reserved.