forked from phil3k3/flink-esper
-
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.
Merge pull request phil3k3#2 from phil3k3/correcting-processing-time
Distinguish between pattern and query
- Loading branch information
Showing
17 changed files
with
580 additions
and
111 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 was deleted.
Oops, something went wrong.
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
5 changes: 5 additions & 0 deletions
5
flink-esper-test/src/test/java/at/datasciencelabs/test/BuildEvent.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package at.datasciencelabs.test; | ||
|
||
|
||
interface BuildEvent { | ||
} |
47 changes: 47 additions & 0 deletions
47
flink-esper-test/src/test/java/at/datasciencelabs/test/BuildFailure.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package at.datasciencelabs.test; | ||
|
||
public class BuildFailure implements BuildEvent { | ||
|
||
private String project; | ||
private int buildId; | ||
|
||
BuildFailure(String project, int buildId) { | ||
this.project = project; | ||
this.buildId = buildId; | ||
} | ||
|
||
public int getBuildId() { | ||
return buildId; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
|
||
BuildFailure that = (BuildFailure) o; | ||
|
||
if (buildId != that.buildId) return false; | ||
return project != null ? project.equals(that.project) : that.project == null; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
int result = project != null ? project.hashCode() : 0; | ||
result = 31 * result + buildId; | ||
return result; | ||
} | ||
|
||
public void setBuildId(int buildId) { | ||
this.buildId = buildId; | ||
} | ||
|
||
public String getProject() { | ||
return project; | ||
} | ||
|
||
public void setProject(String project) { | ||
this.project = project; | ||
} | ||
|
||
} |
47 changes: 47 additions & 0 deletions
47
flink-esper-test/src/test/java/at/datasciencelabs/test/BuildSuccess.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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package at.datasciencelabs.test; | ||
|
||
public class BuildSuccess implements BuildEvent { | ||
|
||
private String project; | ||
private int buildId; | ||
|
||
BuildSuccess(String project, int buildId) { | ||
this.project = project; | ||
this.buildId = buildId; | ||
} | ||
|
||
public String getProject() { | ||
return project; | ||
} | ||
|
||
public void setProject(String project) { | ||
this.project = project; | ||
} | ||
|
||
|
||
public int getBuildId() { | ||
return buildId; | ||
} | ||
|
||
public void setBuildId(int buildId) { | ||
this.buildId = buildId; | ||
} | ||
|
||
@Override | ||
public boolean equals(Object o) { | ||
if (this == o) return true; | ||
if (o == null || getClass() != o.getClass()) return false; | ||
|
||
BuildSuccess that = (BuildSuccess) o; | ||
|
||
if (buildId != that.buildId) return false; | ||
return project != null ? project.equals(that.project) : that.project == null; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
int result = project != null ? project.hashCode() : 0; | ||
result = 31 * result + buildId; | ||
return result; | ||
} | ||
} |
Oops, something went wrong.