This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EAGLE-66 Typesafe Streaming DSL and KeyValue based Grouping
- Decouple StreamProducer = StreamInfo + StreamProtocol - Support typesafe DSL for StreamProducer - Support KeyedStream and groupByKey - Decouple ExecutionEnvironment https://issues.apache.org/jira/browse/EAGLE-66 Author: @haoch <hao@apache.org> Reviewer: @RalphSu <suliangfei@gmail.com> Closes #26 #17
- Loading branch information
Showing
99 changed files
with
2,535 additions
and
1,363 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
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
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
31 changes: 31 additions & 0 deletions
31
...e-stream-process-api/src/main/java/org/apache/eagle/datastream/utils/JavaReflections.java
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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
/** | |||
* Licensed to the Apache Software Foundation (ASF) under one or more | |||
* contributor license agreements. See the NOTICE file distributed with | |||
* this work for additional information regarding copyright ownership. | |||
* The ASF licenses this file to You under the Apache License, Version 2.0 | |||
* (the "License"); you may not use this file except in compliance with | |||
* the License. You may obtain a copy of the License at | |||
* | |||
* http://www.apache.org/licenses/LICENSE-2.0 | |||
* | |||
* Unless required by applicable law or agreed to in writing, software | |||
* distributed under the License is distributed on an "AS IS" BASIS, | |||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
package org.apache.eagle.datastream.utils; | |||
|
|||
import java.lang.reflect.ParameterizedType; | |||
|
|||
/** | |||
* @since 12/7/15 | |||
*/ | |||
class JavaReflections { | |||
@SuppressWarnings("unchecked") | |||
public static Class<?> getGenericTypeClass(final Object obj,int index) { | |||
return (Class<?>) ((ParameterizedType) obj | |||
.getClass() | |||
.getGenericSuperclass()).getActualTypeArguments()[index]; | |||
} | |||
} |
29 changes: 0 additions & 29 deletions
29
...-process-api/src/main/scala/org/apache/eagle/datastream/AbstractStreamProducerGraph.scala
This file was deleted.
Oops, something went wrong.
73 changes: 0 additions & 73 deletions
73
...-stream-process-api/src/main/scala/org/apache/eagle/datastream/ExecutionEnvironment.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.