public static enum Schema.Type extends Enum<Schema.Type>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
BYTES |
DOUBLE |
ENUM |
FIXED |
FLOAT |
INT |
LONG |
MAP |
NULL |
RECORD |
STRING |
UNION |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static Schema.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Schema.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Schema.Type RECORD
public static final Schema.Type ENUM
public static final Schema.Type ARRAY
public static final Schema.Type MAP
public static final Schema.Type UNION
public static final Schema.Type FIXED
public static final Schema.Type STRING
public static final Schema.Type BYTES
public static final Schema.Type INT
public static final Schema.Type LONG
public static final Schema.Type FLOAT
public static final Schema.Type DOUBLE
public static final Schema.Type BOOLEAN
public static final Schema.Type NULL
public static Schema.Type[] values()
for (Schema.Type c : Schema.Type.values()) System.out.println(c);
public static Schema.Type 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 String getName()
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.