public class LogicalNodeDeserializer extends Object
| Constructor and Description |
|---|
LogicalNodeDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
static Column[] |
convertColumns(List<CatalogProtos.ColumnProto> columnProtos) |
static JoinType |
convertJoinType(PlanProto.JoinType type) |
static Schema |
convertSchema(CatalogProtos.SchemaProto proto) |
static SortSpec[] |
convertSortSpecs(List<CatalogProtos.SortSpecProto> sortSpecProtos) |
static Target[] |
convertTargets(OverridableConf context,
List<PlanProto.Target> targetsProto) |
static LogicalNode |
deserialize(OverridableConf context,
PlanProto.LogicalNodeTree tree)
Deserialize a list of nodes into a logical node tree.
|
public static LogicalNode deserialize(OverridableConf context, PlanProto.LogicalNodeTree tree)
context - QueryContexttree - LogicalNodeTree which contains a list of serialized logical nodes.public static Schema convertSchema(CatalogProtos.SchemaProto proto)
public static Column[] convertColumns(List<CatalogProtos.ColumnProto> columnProtos)
public static Target[] convertTargets(OverridableConf context, List<PlanProto.Target> targetsProto)
public static SortSpec[] convertSortSpecs(List<CatalogProtos.SortSpecProto> sortSpecProtos)
public static JoinType convertJoinType(PlanProto.JoinType type)
Copyright © 2015 Apache Software Foundation. All Rights Reserved.