public final class RowTimeBoundedStreamJoin extends org.apache.flink.streaming.api.functions.co.CoProcessFunction<BaseRow,BaseRow,BaseRow>
| 限定符和类型 | 字段和说明 |
|---|---|
protected long |
allowedLateness |
protected long |
leftOperatorTime |
protected long |
leftRelativeSize |
protected long |
rightOperatorTime |
protected long |
rightRelativeSize |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.apache.flink.api.common.functions.RichFunctionopen 在类中 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.