You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by bi...@apache.org on 2016/12/29 11:09:52 UTC

[2/6] kylin git commit: enhance LookupTable

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-hbase1.x
Commit: 3e725f50d1a63fed7f8d253e68b7fc7b1064b76e
Parents: fc9ce92
Author: Li Yang <li...@apache.org>
Authored: Thu Dec 29 13:44:40 2016 +0800
Committer: Li Yang <li...@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;