|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Schema | |
---|---|
org.apache.hadoop.zebra.io | Physical I/O management of Hadoop Zebra Tables. |
org.apache.hadoop.zebra.mapred | Providing InputFormat and
OutputFormat adaptor classes for Hadoop
Zebra Table. |
org.apache.hadoop.zebra.mapreduce | Providing InputFormat and
OutputFormat adaptor classes for Hadoop
Zebra Table. |
org.apache.hadoop.zebra.schema | Zebra Schema |
org.apache.hadoop.zebra.types | Data types being shared between the io and mapred packages. |
Uses of Schema in org.apache.hadoop.zebra.io |
---|
Methods in org.apache.hadoop.zebra.io that return Schema | |
---|---|
Schema |
TableScanner.getSchema()
Get the projection's schema |
Schema |
TableInserter.getSchema()
Get the schema of the underlying table we are writing to. |
Schema |
BasicTable.Reader.getSchema()
Get the schema of the table. |
Schema |
BasicTable.Writer.getSchema()
Get the schema of the table. |
static Schema |
BasicTable.Reader.getSchema(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Get the BasicTable schema without loading the full table index. |
Uses of Schema in org.apache.hadoop.zebra.mapred |
---|
Methods in org.apache.hadoop.zebra.mapred that return Schema | |
---|---|
static Schema |
TableInputFormat.getSchema(org.apache.hadoop.mapred.JobConf conf)
Deprecated. Get the schema of a table expr |
static Schema |
BasicTableOutputFormat.getSchema(org.apache.hadoop.mapred.JobConf conf)
Deprecated. Get the table schema in JobConf. |
Uses of Schema in org.apache.hadoop.zebra.mapreduce |
---|
Methods in org.apache.hadoop.zebra.mapreduce that return Schema | |
---|---|
static Schema |
TableInputFormat.getSchema(org.apache.hadoop.mapreduce.JobContext jobContext)
Get the schema of a table expr |
static Schema |
BasicTableOutputFormat.getSchema(org.apache.hadoop.mapreduce.JobContext jobContext)
Get the table schema in JobContext. |
Uses of Schema in org.apache.hadoop.zebra.schema |
---|
Methods in org.apache.hadoop.zebra.schema that return Schema | |
---|---|
Schema |
Schema.getProjectionSchema(String[] projcols,
HashMap<Schema.ColumnSchema,HashSet<String>> keysmap)
Get a projection's schema |
Schema |
Schema.ColumnSchema.getSchema()
|
static Schema |
Schema.parse(String schema)
Parse a schema string and create a schema object. |
Methods in org.apache.hadoop.zebra.schema with parameters of type Schema | |
---|---|
int |
Schema.compareTo(Schema other)
|
void |
Schema.unionSchema(Schema other)
union compatible schemas. |
Constructors in org.apache.hadoop.zebra.schema with parameters of type Schema | |
---|---|
Schema.ColumnSchema(String a,
Schema s)
construct a Column schema for a RECORD column type |
|
Schema.ColumnSchema(String a,
Schema s,
ColumnType t)
construct a column schema for a complex column type |
Uses of Schema in org.apache.hadoop.zebra.types |
---|
Methods in org.apache.hadoop.zebra.types that return Schema | |
---|---|
Schema |
Projection.getProjectionSchema()
|
Schema |
TypesUtils.TupleReader.getSchema()
|
Schema |
Projection.getSchema()
accessor to the projected schema including invalid columns |
Schema |
Partition.getSchema()
returns table schema |
Schema |
CGSchema.getSchema()
|
static Schema |
Projection.toSchema(String projection)
Get schema from a projection string: all map keys are lost |
Methods in org.apache.hadoop.zebra.types with parameters of type Schema | |
---|---|
static void |
TypesUtils.checkCompatible(Tuple tuple,
Schema schema)
Check whether the input row object is compatible with the expected schema |
static void |
TypesUtils.checkNumberColumnCompatible(Tuple tuple,
Schema schema)
Check whether the input row object is compatible with the expected schema on number of Columns; |
static DataBag |
TypesUtils.createBag(Schema schema)
|
static Tuple |
TypesUtils.createTuple(Schema schema)
Create a tuple based on a schema |
static SortInfo |
SortInfo.parse(String sortStr,
Schema schema,
String comparator)
Build a SortInfo object from sort column names, schema, and comparator |
Constructors in org.apache.hadoop.zebra.types with parameters of type Schema | |
---|---|
CGSchema(Schema schema,
boolean sorted,
String comparator)
|
|
CGSchema(Schema schema,
boolean sorted,
String comparator,
String name,
String serializer,
String compressor,
String owner,
String group,
short perm)
|
|
Partition.PartitionInfo(Schema schema)
|
|
Partition(Schema schema,
Projection projection,
String storage,
String comparator)
|
|
Projection(Schema s)
ctor for full projection |
|
Projection(Schema s,
String projection)
ctor for partial projection |
|
TypesUtils.TupleReader(Schema physical,
Projection projection)
Constructor - create a TupleReader than can parse the serialized Tuple with the specified physical schema, and produce the Tuples based on the projection. |
|
TypesUtils.TupleWriter(Schema physical)
The constructor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |