beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From echauc...@apache.org
Subject [beam] 02/03: Add empty 0-arg constructor for mock source
Date Tue, 08 Jan 2019 10:58:29 GMT
This is an automated email from the ASF dual-hosted git repository.

echauchot pushed a commit to branch spark-runner_structured-streaming
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 0ed1c60dda511e0d5dbb3a8566f1e2c3e5b346e2
Author: Etienne Chauchot <echauchot@apache.org>
AuthorDate: Tue Jan 8 10:27:57 2019 +0100

    Add empty 0-arg constructor for mock source
---
 .../translation/batch/mocks/DatasetSourceMockBatch.java                | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/runners/spark-structured-streaming/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/batch/mocks/DatasetSourceMockBatch.java
b/runners/spark-structured-streaming/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/batch/mocks/DatasetSourceMockBatch.java
index 5a93928..81aead2 100644
--- a/runners/spark-structured-streaming/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/batch/mocks/DatasetSourceMockBatch.java
+++ b/runners/spark-structured-streaming/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/batch/mocks/DatasetSourceMockBatch.java
@@ -39,6 +39,9 @@ import org.joda.time.Instant;
  */
 public class DatasetSourceMockBatch implements DataSourceV2, ReadSupport {
 
+  private DatasetSourceMockBatch() {
+  }
+
   @Override public DataSourceReader createReader(DataSourceOptions options) {
     return new DatasetReader();
   }


Mime
View raw message