You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by da...@apache.org on 2015/10/08 20:52:02 UTC

spark git commit: [SPARK-11006] Rename NullColumnAccess as NullColumnAccessor

Repository: spark
Updated Branches:
  refs/heads/master 226835600 -> 2a6f614cd


[SPARK-11006] Rename NullColumnAccess as NullColumnAccessor

davies
I think NullColumnAccessor follows same convention for other accessors

Author: tedyu <yu...@gmail.com>

Closes #9028 from tedyu/master.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2a6f614c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2a6f614c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2a6f614c

Branch: refs/heads/master
Commit: 2a6f614cd6ffb0cc32460018cb13dad2fd94520f
Parents: 2268356
Author: tedyu <yu...@gmail.com>
Authored: Thu Oct 8 11:51:58 2015 -0700
Committer: Davies Liu <da...@gmail.com>
Committed: Thu Oct 8 11:51:58 2015 -0700

----------------------------------------------------------------------
 .../scala/org/apache/spark/sql/columnar/ColumnAccessor.scala     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/2a6f614c/sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnAccessor.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnAccessor.scala b/sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnAccessor.scala
index f04099f..6247866 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnAccessor.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/columnar/ColumnAccessor.scala
@@ -62,7 +62,7 @@ private[sql] abstract class BasicColumnAccessor[JvmType](
   protected def underlyingBuffer = buffer
 }
 
-private[sql] class NullColumnAccess(buffer: ByteBuffer)
+private[sql] class NullColumnAccessor(buffer: ByteBuffer)
   extends BasicColumnAccessor[Any](buffer, NULL)
   with NullableColumnAccessor
 
@@ -125,7 +125,7 @@ private[sql] object ColumnAccessor {
     val buf = buffer.order(ByteOrder.nativeOrder)
 
     dataType match {
-      case NullType => new NullColumnAccess(buf)
+      case NullType => new NullColumnAccessor(buf)
       case BooleanType => new BooleanColumnAccessor(buf)
       case ByteType => new ByteColumnAccessor(buf)
       case ShortType => new ShortColumnAccessor(buf)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org