org.apache.pig.newplan.logical.rules
Class StreamTypeCastInserter
java.lang.Object
org.apache.pig.newplan.optimizer.Rule
org.apache.pig.newplan.logical.rules.TypeCastInserter
org.apache.pig.newplan.logical.rules.StreamTypeCastInserter
public class StreamTypeCastInserter
- extends TypeCastInserter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamTypeCastInserter
public StreamTypeCastInserter(String n)
buildPattern
protected OperatorPlan buildPattern()
- Description copied from class:
Rule
- Build the pattern that this rule will look for
- Specified by:
buildPattern
in class Rule
- Returns:
- the pattern to look for by this rule
determineSchema
protected LogicalSchema determineSchema(LogicalRelationalOperator op)
throws FrontendException
- Specified by:
determineSchema
in class TypeCastInserter
- Throws:
FrontendException
markCastInserted
protected void markCastInserted(LogicalRelationalOperator op)
- Specified by:
markCastInserted
in class TypeCastInserter
markCastNoNeed
protected void markCastNoNeed(LogicalRelationalOperator op)
- Specified by:
markCastNoNeed
in class TypeCastInserter
isCastAdjusted
protected boolean isCastAdjusted(LogicalRelationalOperator op)
- Specified by:
isCastAdjusted
in class TypeCastInserter
Copyright © 2007-2012 The Apache Software Foundation