| Package | Description |
|---|---|
| org.apache.hadoop.zebra.schema |
Zebra Schema
|
| org.apache.hadoop.zebra.types |
Data types being shared between the io and mapred packages.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2007-2012 The Apache Software Foundation