carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [1/2] incubator-carbondata git commit: Remove unused code in CarbonRow
Date Tue, 06 Dec 2016 16:10:38 GMT
Repository: incubator-carbondata
Updated Branches:
  refs/heads/master bc8265c9a -> e7ee09c1a


Remove unused code in CarbonRow

Remove unused code in CarbonRow

fix style


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

Branch: refs/heads/master
Commit: e14529a27ba67df87ecc7dd67f856a5f0038fe0b
Parents: bc8265c
Author: qiuheng <jarray888@users.noreply.github.com>
Authored: Tue Dec 6 23:07:59 2016 +0800
Committer: jackylk <jacky.likun@huawei.com>
Committed: Wed Dec 7 00:09:02 2016 +0800

----------------------------------------------------------------------
 .../processing/newflow/row/CarbonRow.java       | 25 --------------------
 1 file changed, 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata/blob/e14529a2/processing/src/main/java/org/apache/carbondata/processing/newflow/row/CarbonRow.java
----------------------------------------------------------------------
diff --git a/processing/src/main/java/org/apache/carbondata/processing/newflow/row/CarbonRow.java
b/processing/src/main/java/org/apache/carbondata/processing/newflow/row/CarbonRow.java
index 68b87a9..daf37fb 100644
--- a/processing/src/main/java/org/apache/carbondata/processing/newflow/row/CarbonRow.java
+++ b/processing/src/main/java/org/apache/carbondata/processing/newflow/row/CarbonRow.java
@@ -19,7 +19,6 @@
 
 package org.apache.carbondata.processing.newflow.row;
 
-import java.math.BigDecimal;
 import java.util.Arrays;
 
 /**
@@ -41,26 +40,6 @@ public class CarbonRow {
     this.data = data;
   }
 
-  public int getInt(int ordinal) {
-    return (int) data[ordinal];
-  }
-
-  public long getLong(int ordinal) {
-    return (long) data[ordinal];
-  }
-
-  public float getFloat(int ordinal) {
-    return (float) data[ordinal];
-  }
-
-  public double getDouble(int ordinal) {
-    return (double) data[ordinal];
-  }
-
-  public BigDecimal getDecimal(int ordinal) {
-    return (BigDecimal) data[ordinal];
-  }
-
   public String getString(int ordinal) {
     return (String) data[ordinal];
   }
@@ -69,10 +48,6 @@ public class CarbonRow {
     return data[ordinal];
   }
 
-  public byte[] getBinary(int ordinal) {
-    return (byte[]) data[ordinal];
-  }
-
   public Object[] getObjectArray(int ordinal) {
     return (Object[]) data[ordinal];
   }


Mime
View raw message