public class InputSideHasUniqueKeyBundle extends BufferBundle<Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>>>
actualSize, bundle, count| Constructor and Description |
|---|
InputSideHasUniqueKeyBundle() |
| 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)
Adds a record into the bufferBundle when processing element in a stream and this function
would return the size of the bufferBundle.
|
Set<org.apache.flink.table.data.RowData> |
getJoinKeys()
Get the joinKeys in bufferBundle.
|
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, isEmpty, reducedSizepublic int addRecord(org.apache.flink.table.data.RowData joinKey,
org.apache.flink.table.data.RowData uniqueKey,
org.apache.flink.table.data.RowData record)
BufferBundleaddRecord in class BufferBundle<Map<org.apache.flink.table.data.RowData,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()
BufferBundlegetRecords in class BufferBundle<Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>>>public Set<org.apache.flink.table.data.RowData> getJoinKeys()
BufferBundlegetJoinKeys in class BufferBundle<Map<org.apache.flink.table.data.RowData,List<org.apache.flink.table.data.RowData>>>public 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<org.apache.flink.table.data.RowData,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.