public final class ProcTimeBoundedStreamJoin extends org.apache.flink.streaming.api.functions.co.CoProcessFunction<BaseRow,BaseRow,BaseRow>
| Modifier and Type | Field and Description |
|---|---|
protected long |
allowedLateness |
protected long |
leftOperatorTime |
protected long |
leftRelativeSize |
protected long |
rightOperatorTime |
protected long |
rightRelativeSize |
| Constructor and Description |
|---|
ProcTimeBoundedStreamJoin(FlinkJoinType joinType,
long leftLowerBound,
long leftUpperBound,
BaseRowTypeInfo leftType,
BaseRowTypeInfo rightType,
GeneratedFunction<org.apache.flink.api.common.functions.FlatJoinFunction<BaseRow,BaseRow,BaseRow>> genJoinFunc) |
| Modifier and Type | Method and Description |
|---|---|
void |
onTimer(long timestamp,
org.apache.flink.streaming.api.functions.co.CoProcessFunction.OnTimerContext ctx,
org.apache.flink.util.Collector<BaseRow> out) |
void |
open(org.apache.flink.configuration.Configuration parameters) |
void |
processElement1(BaseRow leftRow,
org.apache.flink.streaming.api.functions.co.CoProcessFunction.Context ctx,
org.apache.flink.util.Collector<BaseRow> out) |
void |
processElement2(BaseRow rightRow,
org.apache.flink.streaming.api.functions.co.CoProcessFunction.Context ctx,
org.apache.flink.util.Collector<BaseRow> out) |
protected final long leftRelativeSize
protected final long rightRelativeSize
protected final long allowedLateness
protected long leftOperatorTime
protected long rightOperatorTime
public ProcTimeBoundedStreamJoin(FlinkJoinType joinType, long leftLowerBound, long leftUpperBound, BaseRowTypeInfo leftType, BaseRowTypeInfo rightType, GeneratedFunction<org.apache.flink.api.common.functions.FlatJoinFunction<BaseRow,BaseRow,BaseRow>> genJoinFunc)
public void open(org.apache.flink.configuration.Configuration parameters)
throws Exception
open in interface org.apache.flink.api.common.functions.RichFunctionopen in class org.apache.flink.api.common.functions.AbstractRichFunctionExceptionpublic void processElement1(BaseRow leftRow, org.apache.flink.streaming.api.functions.co.CoProcessFunction.Context ctx, org.apache.flink.util.Collector<BaseRow> out) throws Exception
public void processElement2(BaseRow rightRow, org.apache.flink.streaming.api.functions.co.CoProcessFunction.Context ctx, org.apache.flink.util.Collector<BaseRow> out) throws Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.