public enum FetchPlanSerializationOption extends java.lang.Enum<FetchPlanSerializationOption>
FetchPlanSerialization
. This object may be also used during the deserialization.Enum Constant and Description |
---|
COMPACT_FORMAT
Specifies that fetch plan is serialized in the compact format.
|
INCLUDE_FETCH_MODE
Specifies that an information about properties fetch mode will be included to the JSON.
|
Modifier and Type | Method and Description |
---|---|
static FetchPlanSerializationOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchPlanSerializationOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchPlanSerializationOption COMPACT_FORMAT
customerGroup2
is defined with a string:
{ "name": "customer-fp", "entity": "sample_Customer", "properties": [ "name", { "name": "customerGroup", "fetchPlan": { "name": "customerGroup-fp", "properties": [ "id", "createdBy", "createTs", "name" ] } }, { "name": "customerGroup2", "fetchPlan": "customerGroup-fp" } ] }
public static final FetchPlanSerializationOption INCLUDE_FETCH_MODE
public static FetchPlanSerializationOption[] values()
for (FetchPlanSerializationOption c : FetchPlanSerializationOption.values()) System.out.println(c);
public static FetchPlanSerializationOption valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null