public final class RowTimeBoundedStreamJoin 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 |
|---|
RowTimeBoundedStreamJoin(FlinkJoinType joinType,
long leftLowerBound,
long leftUpperBound,
long allowedLateness,
BaseRowTypeInfo leftType,
BaseRowTypeInfo rightType,
GeneratedFunction<org.apache.flink.api.common.functions.FlatJoinFunction<BaseRow,BaseRow,BaseRow>> genJoinFunc,
int leftTimeIdx,
int rightTimeIdx) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxOutputDelay()
Get the maximum interval between receiving a row and emitting it (as part of a joined result).
|
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 RowTimeBoundedStreamJoin(FlinkJoinType joinType, long leftLowerBound, long leftUpperBound, long allowedLateness, BaseRowTypeInfo leftType, BaseRowTypeInfo rightType, GeneratedFunction<org.apache.flink.api.common.functions.FlatJoinFunction<BaseRow,BaseRow,BaseRow>> genJoinFunc, int leftTimeIdx, int rightTimeIdx)
public long getMaxOutputDelay()
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.