forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite the Scala API as (somewhat) thin Layer on Java API
Don't bother looking at the diff, this is almost a complete rewrite of the previous Scala API. This uses all the work put into the Java API, such as TypeInformation, the serializers and comparators and the operators. The Scala DataSet and ExecutionEnvironment wrap their respective Java equivalents. TypeInformation is generated by a macro that uses TypeInformationGen and other macro support classes. The Java TypeExtractor is completely bypassed but the TypeInformation and sub-classes are created by the Scala type analyzer. There is special support for Scala Tuples in the form of ScalaTupleTypeInfo, ScalaTupleSerializer, and ScalaTupleComparator. This also adds tests to flink-scala that are ports of the tests in flink-java. There are not yet any Scala specific tests in flink-tests. All the scala example ITCases are commented out, as well as the examples themselves. Those will be uncommented once the examples are ported. This will happen in separate commits.
- Loading branch information
Showing
137 changed files
with
9,193 additions
and
10,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.