public class SchemaResetter extends LogicalRelationalNodesVisitor
currentWalker, DEFAULT_SCOPE, plan
Constructor and Description |
---|
SchemaResetter(OperatorPlan plan) |
SchemaResetter(OperatorPlan plan,
boolean skipDuplicateUidCheck) |
Modifier and Type | Method and Description |
---|---|
void |
validate(LogicalSchema schema)
Check if schema is valid (ready to be part of a final logical plan)
|
void |
visit(LOCogroup loCogroup) |
void |
visit(LOCross loCross) |
void |
visit(LOCube loCube) |
void |
visit(LODistinct loDistinct) |
void |
visit(LOFilter filter) |
void |
visit(LOForEach foreach) |
void |
visit(LOGenerate gen) |
void |
visit(LOInnerLoad load) |
void |
visit(LOJoin join) |
void |
visit(LOLimit loLimit) |
void |
visit(LOLoad load) |
void |
visit(LORank loRank) |
void |
visit(LOSort loSort) |
void |
visit(LOSplit loSplit) |
void |
visit(LOSplitOutput loSplitOutput) |
void |
visit(LOStore store) |
void |
visit(LOStream loStream) |
void |
visit(LOUnion loUnion) |
visit
getPlan, popWalker, pushWalker, visit
public SchemaResetter(OperatorPlan plan) throws FrontendException
FrontendException
public SchemaResetter(OperatorPlan plan, boolean skipDuplicateUidCheck) throws FrontendException
FrontendException
public void visit(LOLoad load) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOFilter filter) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOStore store) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOJoin join) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOForEach foreach) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOGenerate gen) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOInnerLoad load) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOCube loCube) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOCogroup loCogroup) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOSplit loSplit) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOSplitOutput loSplitOutput) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOUnion loUnion) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOSort loSort) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LORank loRank) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LODistinct loDistinct) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOLimit loLimit) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOCross loCross) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void visit(LOStream loStream) throws FrontendException
visit
in class LogicalRelationalNodesVisitor
FrontendException
public void validate(LogicalSchema schema) throws PlanValidationException
schema
- PlanValidationException
- if the if any field in schema has uid -1
or (skipDuplicateUidCheck is true and there are duplicate uids in schema)Copyright © 2007-2017 The Apache Software Foundation