public static class RangeShuffle.KeyAndSizeExtractor<T> extends org.apache.flink.api.common.functions.RichMapFunction<org.apache.flink.api.java.tuple.Tuple2<T,org.apache.flink.table.data.RowData>,org.apache.flink.api.java.tuple.Tuple2<T,Integer>>
| Constructor and Description |
|---|
KeyAndSizeExtractor(RowType rowType,
boolean isSortBySize) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.java.tuple.Tuple2<T,Integer> |
map(org.apache.flink.api.java.tuple.Tuple2<T,org.apache.flink.table.data.RowData> keyAndRowData) |
void |
open(org.apache.flink.configuration.Configuration parameters) |
close, getIterationRuntimeContext, getRuntimeContext, setRuntimeContextpublic KeyAndSizeExtractor(RowType rowType, boolean isSortBySize)
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 org.apache.flink.api.java.tuple.Tuple2<T,Integer> map(org.apache.flink.api.java.tuple.Tuple2<T,org.apache.flink.table.data.RowData> keyAndRowData) throws Exception
map in interface org.apache.flink.api.common.functions.MapFunction<org.apache.flink.api.java.tuple.Tuple2<T,org.apache.flink.table.data.RowData>,org.apache.flink.api.java.tuple.Tuple2<T,Integer>>map in class org.apache.flink.api.common.functions.RichMapFunction<org.apache.flink.api.java.tuple.Tuple2<T,org.apache.flink.table.data.RowData>,org.apache.flink.api.java.tuple.Tuple2<T,Integer>>ExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.