public class InputSideHasNoUniqueKeyBundle extends BufferBundle<Map<Integer,List<org.apache.flink.table.data.RowData>>>
actualSize, bundle, count| Constructor and Description |
|---|
InputSideHasNoUniqueKeyBundle() |
| Modifier and Type | Method and Description |
|---|---|
int |
addRecord(org.apache.flink.table.data.RowData joinKey,
org.apache.flink.table.data.RowData uniqueKey,
org.apache.flink.table.data.RowData record)
The structure of the bundle: first-level key is the joinKey while the second-level key is the
hash value of the record.
|
Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>> |
getRecords()
Get records associated with joinKeys from bufferBundle.
|
Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>> |
getRecordsWithJoinKey(org.apache.flink.table.data.RowData joinKey)
Get records associated with joinKeys from bufferBundle.
|
clear, getJoinKeys, isEmpty, reducedSizepublic int addRecord(org.apache.flink.table.data.RowData joinKey,
@Nullable
org.apache.flink.table.data.RowData uniqueKey,
org.apache.flink.table.data.RowData record)
addRecord in class BufferBundle<Map<Integer,List<org.apache.flink.table.data.RowData>>>joinKey - the joinKey associated with the record.uniqueKey - the uniqueKey associated with the record. This could be null.record - The record to add.public Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>> getRecords() throws Exception
BufferBundlegetRecords in class BufferBundle<Map<Integer,List<org.apache.flink.table.data.RowData>>>Exceptionpublic Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>> getRecordsWithJoinKey(org.apache.flink.table.data.RowData joinKey)
BufferBundlegetRecordsWithJoinKey in class BufferBundle<Map<Integer,List<org.apache.flink.table.data.RowData>>>joinKey - one of joinKeys stored in this bundle.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.