public class ConstantPropagateProcCtx extends Object implements NodeProcessorCtx
Modifier and Type | Class and Description |
---|---|
static class |
ConstantPropagateProcCtx.ConstantPropagateOption |
Constructor and Description |
---|
ConstantPropagateProcCtx() |
ConstantPropagateProcCtx(ConstantPropagateProcCtx.ConstantPropagateOption option) |
Modifier and Type | Method and Description |
---|---|
void |
addOpToDelete(Operator<? extends Serializable> op) |
ConstantPropagateProcCtx.ConstantPropagateOption |
getConstantPropagateOption() |
Map<Operator<? extends Serializable>,Map<ColumnInfo,ExprNodeDesc>> |
getOpToConstantExprs() |
Set<Operator<? extends Serializable>> |
getOpToDelete() |
Map<ColumnInfo,ExprNodeDesc> |
getPropagatedConstants(Operator<? extends Serializable> op)
Get propagated constant map from parents.
|
void |
setConstantPropagateOption(ConstantPropagateProcCtx.ConstantPropagateOption constantPropagateOption) |
public ConstantPropagateProcCtx()
public ConstantPropagateProcCtx(ConstantPropagateProcCtx.ConstantPropagateOption option)
public Map<Operator<? extends Serializable>,Map<ColumnInfo,ExprNodeDesc>> getOpToConstantExprs()
public Map<ColumnInfo,ExprNodeDesc> getPropagatedConstants(Operator<? extends Serializable> op)
op
- operator getting the propagated constants.public void addOpToDelete(Operator<? extends Serializable> op)
public Set<Operator<? extends Serializable>> getOpToDelete()
public ConstantPropagateProcCtx.ConstantPropagateOption getConstantPropagateOption()
public void setConstantPropagateOption(ConstantPropagateProcCtx.ConstantPropagateOption constantPropagateOption)
Copyright © 2017 The Apache Software Foundation. All rights reserved.