Class TemporalJoinSQLExample
java.lang.Object
org.apache.flink.table.examples.java.basics.TemporalJoinSQLExample
Example for demonstrating the use of temporal join between a table backed by a
DataStream
and a table backed by a change log stream.
In particular, the example shows how to
- create a change log stream from elements
- rename the table columns
- register a table as a view under a name,
- run a stream temporal join query on registered tables,
- and convert the table back to a data stream.
The example executes a single Flink job. The results are written to stdout.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEnriched transaction by joining with the currency rate table.static classA simple class to represent a transaction. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TemporalJoinSQLExample
public TemporalJoinSQLExample()
-
-
Method Details
-
main
- Throws:
Exception
-