Class StreamWindowSQLExample
java.lang.Object
org.apache.flink.table.examples.java.basics.StreamWindowSQLExample
Simple example for demonstrating the use of SQL in Java.
Usage: ./bin/flink run ./examples/table/StreamWindowSQLExample.jar
This example shows how to: - Register a table via DDL - Declare an event time attribute in the DDL - Run a streaming window aggregate on the registered table
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StreamWindowSQLExample
public StreamWindowSQLExample()
-
-
Method Details
-
main
- Throws:
Exception
-