public class JoinKeyContainsUniqueKeyBundle extends BufferBundle<List<org.apache.flink.table.data.RowData>>
actualSize, bundle, count| Constructor and Description |
|---|
JoinKeyContainsUniqueKeyBundle() |
| 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.
|
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)
BufferBundleaddRecord in class BufferBundle<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<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<List<org.apache.flink.table.data.RowData>>joinKey - one of joinKeys stored in this bundle.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.