public enum PigDataType extends Enum<PigDataType>
| Enum Constant and Description |
|---|
CHARARRAY |
| Modifier and Type | Method and Description |
|---|---|
byte |
getPigType() |
org.apache.calcite.sql.type.SqlTypeName |
getSqlType() |
static PigDataType |
valueOf(byte pigType) |
static PigDataType |
valueOf(org.apache.calcite.sql.type.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
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 org.apache.calcite.sql.type.SqlTypeName getSqlType()
public static PigDataType valueOf(byte pigType)
public static PigDataType valueOf(org.apache.calcite.sql.type.SqlTypeName sqlType)
Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.