Class MultiJoinStateViews
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.join.stream.state.MultiJoinStateViews
-
public final class MultiJoinStateViews extends Object
Factory class to create different implementations ofMultiJoinStateViewbased on the characteristics described inJoinInputSideSpec.Each state view uses a
MapStatewhere the primary key is the `joinKey` derived from the join conditions (viaJoinKeyExtractor). The value stored within this map depends on whether the input side has a unique key and how it relates to the join key, optimizing storage and access patterns.
-
-
Constructor Summary
Constructors Constructor Description MultiJoinStateViews()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiJoinStateViewcreate(org.apache.flink.api.common.functions.RuntimeContext ctx, String stateName, JoinInputSideSpec inputSideSpec, org.apache.flink.table.types.logical.RowType joinKeyType, org.apache.flink.table.types.logical.RowType recordType, long retentionTime)Creates aMultiJoinStateViewdepends onJoinInputSideSpec.
-
-
-
Method Detail
-
create
public static MultiJoinStateView create(org.apache.flink.api.common.functions.RuntimeContext ctx, String stateName, JoinInputSideSpec inputSideSpec, @Nullable org.apache.flink.table.types.logical.RowType joinKeyType, org.apache.flink.table.types.logical.RowType recordType, long retentionTime)
Creates aMultiJoinStateViewdepends onJoinInputSideSpec.
-
-