Class StreamSQLExample
java.lang.Object
org.apache.flink.table.examples.java.basics.StreamSQLExample
Simple example for demonstrating the use of SQL on a table backed by a
DataStream in Java
DataStream API.
In particular, the example shows how to
- convert two bounded data streams to tables,
- register a table as a view under a name,
- run a stream SQL query on registered and unregistered 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 Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamSQLExample
public StreamSQLExample()
-
-
Method Details
-
main
- Throws:
Exception
-