public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static LOForEach |
addForEachAfter(LogicalPlan plan,
LogicalRelationalOperator op,
int branch,
java.util.Set<java.lang.Integer> columnsToDrop) |
static Schema |
fixSchemaAddTupleInBag(Schema sch)
If schema argument has fields where a bag does not contain a tuple schema,
it inserts a tuple schema.
|
static Schema.FieldSchema |
translateFieldSchema(LogicalSchema.LogicalFieldSchema fs) |
static LogicalSchema.LogicalFieldSchema |
translateFieldSchema(Schema.FieldSchema fs) |
static Schema |
translateSchema(LogicalSchema schema)
This function translates the new LogicalSchema into old Schema format required
by PhysicalOperators
|
static LogicalSchema |
translateSchema(Schema schema) |
public static LogicalSchema translateSchema(Schema schema)
public static LogicalSchema.LogicalFieldSchema translateFieldSchema(Schema.FieldSchema fs)
public static Schema translateSchema(LogicalSchema schema)
schema
- LogicalSchema to be converted to SchemaFrontendException
public static Schema fixSchemaAddTupleInBag(Schema sch) throws FrontendException
sch
- FrontendException
public static Schema.FieldSchema translateFieldSchema(LogicalSchema.LogicalFieldSchema fs)
public static LOForEach addForEachAfter(LogicalPlan plan, LogicalRelationalOperator op, int branch, java.util.Set<java.lang.Integer> columnsToDrop) throws FrontendException
FrontendException
Copyright © 2007-2012 The Apache Software Foundation