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 <C extends LogicalRelationalOperator> | getLogicalRelationalOperators(LogicalPlan plan,
                             java.lang.Class<C> opClass)Returns a LinkedList of operators contained within the physical plan
 which implement the supplied class, in dependency order. | 
| 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 SchemaFrontendExceptionpublic static Schema fixSchemaAddTupleInBag(Schema sch) throws FrontendException
sch - FrontendExceptionpublic 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
FrontendExceptionpublic static <C extends LogicalRelationalOperator> java.util.LinkedList<C> getLogicalRelationalOperators(LogicalPlan plan, java.lang.Class<C> opClass) throws FrontendException
plan - opClass - FrontendExceptionCopyright © 2007-2025 The Apache Software Foundation