You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/12/31 23:57:16 UTC
kylin git commit: minor, add comments in CubeInstance
Repository: kylin
Updated Branches:
refs/heads/master 6f4dbc121 -> edc4397aa
minor, add comments in CubeInstance
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/edc4397a
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/edc4397a
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/edc4397a
Branch: refs/heads/master
Commit: edc4397aa1f168a75a612639376bff89d6424310
Parents: 6f4dbc1
Author: Li Yang <li...@apache.org>
Authored: Mon Jan 1 07:57:10 2018 +0800
Committer: Li Yang <li...@apache.org>
Committed: Mon Jan 1 07:57:10 2018 +0800
----------------------------------------------------------------------
core-cube/src/main/java/org/apache/kylin/cube/CubeInstance.java | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/edc4397a/core-cube/src/main/java/org/apache/kylin/cube/CubeInstance.java
----------------------------------------------------------------------
diff --git a/core-cube/src/main/java/org/apache/kylin/cube/CubeInstance.java b/core-cube/src/main/java/org/apache/kylin/cube/CubeInstance.java
index 79341cb..a299203 100644
--- a/core-cube/src/main/java/org/apache/kylin/cube/CubeInstance.java
+++ b/core-cube/src/main/java/org/apache/kylin/cube/CubeInstance.java
@@ -578,6 +578,7 @@ public class CubeInstance extends RootPersistentEntity implements IRealization,
}
}
+ // For JSON serialization of this attribute, use CubeInstanceResponse
public long getSizeKB() {
long sizeKb = 0L;
@@ -588,6 +589,7 @@ public class CubeInstance extends RootPersistentEntity implements IRealization,
return sizeKb;
}
+ // For JSON serialization of this attribute, use CubeInstanceResponse
public long getInputRecordCount() {
long sizeRecordCount = 0L;
@@ -598,6 +600,7 @@ public class CubeInstance extends RootPersistentEntity implements IRealization,
return sizeRecordCount;
}
+ // For JSON serialization of this attribute, use CubeInstanceResponse
public long getInputRecordSizeMB() {
long sizeRecordSize = 0L;