asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From buyin...@apache.org
Subject incubator-asterixdb-hyracks git commit: Add a constructor for FileSplit: FileSplit(String nodeName, String path, int ioDeviceId).
Date Wed, 25 Nov 2015 01:23:44 GMT
Repository: incubator-asterixdb-hyracks
Updated Branches:
  refs/heads/master 4dc8244f1 -> f624cf3ef


Add a constructor for FileSplit: FileSplit(String nodeName, String path, int ioDeviceId).

change-Id: I1c7cc7752dd7b6d5261ff02d591f25d76d442a1c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/324
Reviewed-by: Till Westmann <tillw@apache.org>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>


Project: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/commit/f624cf3e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/tree/f624cf3e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/diff/f624cf3e

Branch: refs/heads/master
Commit: f624cf3eff880d645a16f08deca5ddd1ee3a537a
Parents: 4dc8244
Author: Yingyi Bu <buyingyi@gmail.com>
Authored: Tue Nov 24 17:01:55 2015 -0800
Committer: Yingyi Bu <buyingyi@gmail.com>
Committed: Tue Nov 24 17:20:14 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/hyracks/dataflow/std/file/FileSplit.java   | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb-hyracks/blob/f624cf3e/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/file/FileSplit.java
----------------------------------------------------------------------
diff --git a/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/file/FileSplit.java
b/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/file/FileSplit.java
index 07462dd..b66122e 100644
--- a/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/file/FileSplit.java
+++ b/hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/file/FileSplit.java
@@ -42,6 +42,12 @@ public class FileSplit implements Serializable {
         this.ioDeviceId = ioDeviceId;
     }
 
+    public FileSplit(String nodeName, String path, int ioDeviceId) {
+        this.nodeName = nodeName;
+        this.file = new FileReference(new File(path));
+        this.ioDeviceId = ioDeviceId;
+    }
+
     public FileSplit(String nodeName, String path) {
         this.nodeName = nodeName;
         this.file = new FileReference(new File(path));


Mime
View raw message