public enum PigDataType extends Enum<PigDataType>
| Enum Constant and Description |
|---|
CHARARRAY |
| Modifier and Type | Field and Description |
|---|---|
private byte |
pigType |
private SqlTypeName |
sqlType |
| Modifier and Type | Method and Description |
|---|---|
byte |
getPigType() |
SqlTypeName |
getSqlType() |
static PigDataType |
valueOf(byte pigType) |
static PigDataType |
valueOf(SqlTypeName sqlType) |
static PigDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PigDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PigDataType CHARARRAY
private byte pigType
private SqlTypeName sqlType
public static PigDataType[] values()
for (PigDataType c : PigDataType.values()) System.out.println(c);
public static PigDataType 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 byte getPigType()
public SqlTypeName getSqlType()
public static PigDataType valueOf(byte pigType)
public static PigDataType valueOf(SqlTypeName sqlType)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.