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