public interface JoinRecordStateView
JoinRecordStateView is a view to the join state. It encapsulates the join state and
provides some APIs facing the input records. The join state is used to store input records. The
structure of the join state is vary depending on the JoinInputSideSpec.
For example: when the JoinInputSideSpec is JoinKeyContainsUniqueKey, we will use
ValueState to store records which has better
performance.
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(org.apache.flink.table.data.RowData record)
Add a new record to the state view.
|
Iterable<org.apache.flink.table.data.RowData> |
getRecords()
Gets all the records under the current context (i.e. join key).
|
void |
retractRecord(org.apache.flink.table.data.RowData record)
Retract the record from the state view.
|
void addRecord(org.apache.flink.table.data.RowData record)
throws Exception
Exceptionvoid retractRecord(org.apache.flink.table.data.RowData record)
throws Exception
ExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.