本文整理汇总了Java中org.apache.flink.util.Visitor.postVisit方法的典型用法代码示例。如果您正苦于以下问题:Java Visitor.postVisit方法的具体用法?Java Visitor.postVisit怎么用?Java Visitor.postVisit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.flink.util.Visitor
的用法示例。
在下文中一共展示了Visitor.postVisit方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<OptimizerNode> visitor) {
if (visitor.preVisit(this)) {
if (this.input1 == null || this.input2 == null) {
throw new CompilerException();
}
getFirstPredecessorNode().accept(visitor);
getSecondPredecessorNode().accept(visitor);
for (DagConnection connection : getBroadcastConnections()) {
connection.getSource().accept(visitor);
}
visitor.postVisit(this);
}
}
示例2: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<OptimizerNode> visitor) {
if (visitor.preVisit(this)) {
if (this.input1 == null || this.input2 == null) {
throw new CompilerException();
}
getFirstPredecessorNode().accept(visitor);
getSecondPredecessorNode().accept(visitor);
for (PactConnection connection : getBroadcastConnections()) {
connection.getSource().accept(visitor);
}
visitor.postVisit(this);
}
}
示例3: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<Operator<?>> visitor) {
boolean descend = visitor.preVisit(this);
if (descend) {
this.input1.accept(visitor);
this.input2.accept(visitor);
for (Operator<?> c : this.broadcastInputs.values()) {
c.accept(visitor);
}
visitor.postVisit(this);
}
}
示例4: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
/**
* Accepts the visitor and applies it this instance. The visitors pre-visit method is called and, if returning
* <tt>true</tt>, the visitor is recursively applied on the single input. After the recursion returned,
* the post-visit method is called.
*
* @param visitor The visitor.
*
* @see org.apache.flink.util.Visitable#accept(org.apache.flink.util.Visitor)
*/
@Override
public void accept(Visitor<Operator<?>> visitor) {
if (visitor.preVisit(this)) {
this.input.accept(visitor);
for (Operator<?> c : this.broadcastInputs.values()) {
c.accept(visitor);
}
visitor.postVisit(this);
}
}
示例5: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<OptimizerNode> visitor) {
if (visitor.preVisit(this)) {
if (getPredecessorNode() != null) {
getPredecessorNode().accept(visitor);
} else {
throw new CompilerException();
}
visitor.postVisit(this);
}
}
示例6: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<OptimizerNode> visitor) {
if (visitor.preVisit(this)) {
if (getPredecessorNode() != null) {
getPredecessorNode().accept(visitor);
} else {
throw new CompilerException();
}
for (DagConnection connection : getBroadcastConnections()) {
connection.getSource().accept(visitor);
}
visitor.postVisit(this);
}
}
示例7: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<PlanNode> visitor) {
if (visitor.preVisit(this)) {
this.input1.getSource().accept(visitor);
this.input2.getSource().accept(visitor);
for (Channel broadcastInput : getBroadcastInputs()) {
broadcastInput.getSource().accept(visitor);
}
visitor.postVisit(this);
}
}
示例8: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<PlanNode> visitor) {
visitor.preVisit(this);
for (Channel c : this.inputs) {
c.getSource().accept(visitor);
}
visitor.postVisit(this);
}
示例9: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<PlanNode> visitor) {
if (visitor.preVisit(this)) {
this.input.getSource().accept(visitor);
for (Channel broadcastInput : getBroadcastInputs()) {
broadcastInput.getSource().accept(visitor);
}
visitor.postVisit(this);
}
}
示例10: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<OptimizerNode> visitor) {
if (visitor.preVisit(this)) {
if (getPredecessorNode() != null) {
getPredecessorNode().accept(visitor);
} else {
throw new CompilerException();
}
for (PactConnection connection : getBroadcastConnections()) {
connection.getSource().accept(visitor);
}
visitor.postVisit(this);
}
}
示例11: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<Operator<?>> visitor) {
visitor.preVisit(this);
visitor.postVisit(this);
}
示例12: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<OptimizerNode> visitor) {
if (visitor.preVisit(this)) {
visitor.postVisit(this);
}
}
示例13: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
@Override
public void accept(Visitor<PlanNode> visitor) {
if (visitor.preVisit(this)) {
visitor.postVisit(this);
}
}
示例14: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
/**
* Accepts the visitor and applies it this instance. This method applies the visitor in a depth-first traversal.
* The visitors pre-visit method is called and, if returning
* <tt>true</tt>, the visitor is recursively applied on the single input. After the recursion returned,
* the post-visit method is called.
*
* @param visitor The visitor.
*
* @see org.apache.flink.util.Visitable#accept(org.apache.flink.util.Visitor)
*/
@Override
public void accept(Visitor<Operator<?>> visitor) {
boolean descend = visitor.preVisit(this);
if (descend) {
this.input.accept(visitor);
visitor.postVisit(this);
}
}
示例15: accept
import org.apache.flink.util.Visitor; //导入方法依赖的package包/类
/**
* Accepts the visitor and applies it this instance. Since the data sources have no inputs, no recursive descend
* happens. The visitors pre-visit method is called and, if returning <tt>true</tt>, the post-visit method is called.
*
* @param visitor The visitor.
*
* @see org.apache.flink.util.Visitable#accept(org.apache.flink.util.Visitor)
*/
@Override
public void accept(Visitor<Operator<?>> visitor) {
if (visitor.preVisit(this)) {
visitor.postVisit(this);
}
}