public static enum HadoopThriftAuthBridge.Server.ServerMode extends Enum<HadoopThriftAuthBridge.Server.ServerMode>
Enum Constant and Description |
---|
HIVESERVER2 |
METASTORE |
Modifier and Type | Method and Description |
---|---|
static HadoopThriftAuthBridge.Server.ServerMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopThriftAuthBridge.Server.ServerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopThriftAuthBridge.Server.ServerMode HIVESERVER2
public static final HadoopThriftAuthBridge.Server.ServerMode METASTORE
public static HadoopThriftAuthBridge.Server.ServerMode[] values()
for (HadoopThriftAuthBridge.Server.ServerMode c : HadoopThriftAuthBridge.Server.ServerMode.values()) System.out.println(c);
public static HadoopThriftAuthBridge.Server.ServerMode 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 © 2017 The Apache Software Foundation. All rights reserved.