kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liy...@apache.org
Subject kylin git commit: enhance LookupTable
Date Thu, 29 Dec 2016 05:44:45 GMT
Repository: kylin
Updated Branches:
  refs/heads/yang22-391 fc9ce92b0 -> 3e725f50d


enhance LookupTable


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/3e725f50
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/3e725f50
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/3e725f50

Branch: refs/heads/yang22-391
Commit: 3e725f50d1a63fed7f8d253e68b7fc7b1064b76e
Parents: fc9ce92
Author: Li Yang <liyang@apache.org>
Authored: Thu Dec 29 13:44:40 2016 +0800
Committer: Li Yang <liyang@apache.org>
Committed: Thu Dec 29 13:44:40 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/dict/lookup/LookupTable.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/3e725f50/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
----------------------------------------------------------------------
diff --git a/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java b/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
index cd700e9..21221f4 100644
--- a/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
+++ b/core-dictionary/src/main/java/org/apache/kylin/dict/lookup/LookupTable.java
@@ -23,6 +23,7 @@ import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Comparator;
 import java.util.List;
+import java.util.Map;
 import java.util.Set;
 import java.util.concurrent.ConcurrentHashMap;
 
@@ -46,7 +47,7 @@ abstract public class LookupTable<T> {
     protected TableDesc tableDesc;
     protected String[] keyColumns;
     protected ReadableTable table;
-    protected ConcurrentHashMap<Array<T>, T[]> data;
+    protected Map<Array<T>, T[]> data;
 
     public LookupTable(TableDesc tableDesc, String[] keyColumns, ReadableTable table) throws
IOException {
         this.tableDesc = tableDesc;


Mime
View raw message