public static enum LensServices.SERVICE_MODE extends Enum<LensServices.SERVICE_MODE>
Enum Constant and Description |
---|
METASTORE_NODROP
The metastore nodrop.
|
METASTORE_READONLY
The metastore readonly.
|
OPEN
The open.
|
READ_ONLY
The read only.
|
Modifier and Type | Method and Description |
---|---|
static LensServices.SERVICE_MODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LensServices.SERVICE_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LensServices.SERVICE_MODE READ_ONLY
public static final LensServices.SERVICE_MODE METASTORE_READONLY
public static final LensServices.SERVICE_MODE METASTORE_NODROP
public static final LensServices.SERVICE_MODE OPEN
public static LensServices.SERVICE_MODE[] values()
for (LensServices.SERVICE_MODE c : LensServices.SERVICE_MODE.values()) System.out.println(c);
public static LensServices.SERVICE_MODE 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 nullCopyright © 2014–2016 Apache Software Foundation. All rights reserved.