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 |
---|---|
Schema.ColumnSchema |
Schema.getColumn(int index)
Get a particular column's schema
|
Schema.ColumnSchema |
Schema.getColumn(java.lang.String name)
get a column by name
|
Schema.ColumnSchema |
Schema.getColumnSchema(Schema.ParsedName pn)
find the most fitting subcolumn containing the name: the parsed name is set
after the field name plus any possible separator of '.' or '#'.
|
Schema.ColumnSchema |
Schema.getColumnSchema(java.lang.String name)
Get a column's schema
|
Schema.ColumnSchema |
Schema.getColumnSchemaOnParsedName(Schema.ParsedName pn)
Get a subcolumn's schema and move the name just parsed into the next subtype
|
Modifier and Type | Method and Description |
---|---|
void |
Schema.add(Schema.ColumnSchema f)
add a column
|
static boolean |
Schema.ColumnSchema.equals(Schema.ColumnSchema fschema,
Schema.ColumnSchema fother)
Compare two field schema for equality
|
java.lang.String |
Schema.ParsedName.parseName(Schema.ColumnSchema fs)
Parse one sector of a fully qualified column name; also checks validity
of use of the MAP and RECORD delimiters
|
Modifier and Type | Method and Description |
---|---|
Schema |
Schema.getProjectionSchema(java.lang.String[] projcols,
java.util.HashMap<Schema.ColumnSchema,java.util.HashSet<java.lang.String>> keysmap)
Get a projection's schema
|
Constructor and Description |
---|
Schema.ColumnSchema(Schema.ColumnSchema cs)
copy ctor
|
Schema(Schema.ColumnSchema fs) |
Modifier and Type | Method and Description |
---|---|
Schema.ColumnSchema |
Projection.getColumnSchema(int i)
Get a particular projected column's schema
|
Modifier and Type | Method and Description |
---|---|
java.util.HashSet<org.apache.hadoop.zebra.types.Partition.PartitionInfo.ColumnMappingEntry> |
Partition.getSplitMap(Schema.ColumnSchema fs) |
java.util.HashSet<org.apache.hadoop.zebra.types.Partition.PartitionInfo.ColumnMappingEntry> |
Partition.PartitionInfo.getSplitMap(Schema.ColumnSchema fs)
returns "hash key-to-(sub)column" map on a (sub)column which is MAP-split
across different hash keys
|
boolean |
Partition.setCGIndex(Schema.ColumnSchema fs,
int ri,
int fi,
java.lang.String name) |
boolean |
Partition.PartitionInfo.setCGIndex(Schema.ColumnSchema fs,
int ri,
int fi,
java.lang.String name)
set a record field split (sub)column
|
boolean |
Partition.PartitionInfo.setKeyCGIndex(Schema.ColumnSchema fs,
int ri,
int fi,
java.lang.String name,
java.util.HashSet<java.lang.String> keys)
set a MAP key split (sub)column
|
void |
Partition.setSplit(Schema.ColumnSchema fs,
Partition.SplitType st,
Partition.SplitType cst,
java.lang.String name,
java.lang.String childName,
boolean splitChild) |
Copyright © 2007-2012 The Apache Software Foundation