|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ColumnType | |
---|---|
org.apache.hadoop.zebra.schema | Zebra Schema |
org.apache.hadoop.zebra.types | Data types being shared between the io and mapred packages. |
Uses of ColumnType in org.apache.hadoop.zebra.schema |
---|
Methods in org.apache.hadoop.zebra.schema that return ColumnType | |
---|---|
ColumnType |
Schema.ParsedName.getDT()
Get the column type |
ColumnType |
Schema.ColumnSchema.getType()
access function to get the column type |
static ColumnType |
ColumnType.getTypeByName(String name)
To get the type based on the type name string. |
static ColumnType |
ColumnType.getTypeByPigDataType(byte dt)
Get the Zebra type from a Pig type |
static ColumnType |
ColumnType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColumnType[] |
ColumnType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.apache.hadoop.zebra.schema with parameters of type ColumnType | |
---|---|
static String |
ColumnType.findTypeName(ColumnType columntype)
Get the Zebra type name for the passed in Zebra column type |
static boolean |
ColumnType.isSchemaType(ColumnType columnType)
check if a column type contains internal schema |
void |
Schema.ParsedName.setDT(ColumnType dt)
Set the column type |
void |
Schema.ParsedName.setName(String name,
ColumnType pdt)
Set the name and type |
Constructors in org.apache.hadoop.zebra.schema with parameters of type ColumnType | |
---|---|
Schema.ColumnSchema(String a,
ColumnType t)
construct a ColumnSchema for a native type |
|
Schema.ColumnSchema(String a,
Schema s,
ColumnType t)
construct a column schema for a complex column type |
Uses of ColumnType in org.apache.hadoop.zebra.types |
---|
Methods in org.apache.hadoop.zebra.types that return ColumnType | |
---|---|
ColumnType[] |
SortInfo.getSortColumnTypes()
Get an array of zebra types of the sorted columns with the first column being the primary sort key, the second column being the secondary sort key, ..., etc. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |