hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1629999 - /hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/struct/DefaultHBaseValueFactory.java
Date Wed, 08 Oct 2014 01:01:07 GMT
Author: brock
Date: Wed Oct  8 01:01:07 2014
New Revision: 1629999

URL: http://svn.apache.org/r1629999
Log:
HIVE-8370 - Fix tabs in DefaultHBaseValueFactory (Brock reviewed by Szehon)

Modified:
    hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/struct/DefaultHBaseValueFactory.java

Modified: hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/struct/DefaultHBaseValueFactory.java
URL: http://svn.apache.org/viewvc/hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/struct/DefaultHBaseValueFactory.java?rev=1629999&r1=1629998&r2=1629999&view=diff
==============================================================================
--- hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/struct/DefaultHBaseValueFactory.java
(original)
+++ hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/struct/DefaultHBaseValueFactory.java
Wed Oct  8 01:01:07 2014
@@ -35,7 +35,7 @@ import org.apache.hadoop.hive.serde2.typ
 /**
  * Default implementation of the {@link HBaseValueFactory}
  * */
-public class DefaultHBaseValueFactory implements HBaseValueFactory{
+public class DefaultHBaseValueFactory implements HBaseValueFactory {
 
   protected LazySimpleSerDe.SerDeParameters serdeParams;
   protected ColumnMappings columnMappings;
@@ -49,32 +49,32 @@ public class DefaultHBaseValueFactory im
     this.fieldID = fieldID;
   }
 
-	@Override
+  @Override
   public void init(HBaseSerDeParameters hbaseParams, Configuration conf, Properties properties)
-			throws SerDeException {
+      throws SerDeException {
     this.hbaseParams = hbaseParams;
     this.serdeParams = hbaseParams.getSerdeParams();
     this.columnMappings = hbaseParams.getColumnMappings();
     this.properties = properties;
     this.conf = conf;
-	}
+  }
 
-	@Override
-	public ObjectInspector createValueObjectInspector(TypeInfo type)
-			throws SerDeException {
+  @Override
+  public ObjectInspector createValueObjectInspector(TypeInfo type)
+      throws SerDeException {
     return LazyFactory.createLazyObjectInspector(type, serdeParams.getSeparators(),
         1, serdeParams.getNullSequence(), serdeParams.isEscaped(), serdeParams.getEscapeChar());
-	}
+  }
 
   @Override
   public LazyObjectBase createValueObject(ObjectInspector inspector) throws SerDeException
{
     return HBaseSerDeHelper.createLazyField(columnMappings.getColumnsMapping(), fieldID,
inspector);
   }
 
-	@Override
-	public byte[] serializeValue(Object object, StructField field)
-			throws IOException {
+  @Override
+  public byte[] serializeValue(Object object, StructField field)
+      throws IOException {
     // TODO Add support for serialization of values here
-		return null;
-	}
-}
\ No newline at end of file
+    return null;
+  }
+}



Mime
View raw message