Skip to content
Snippets Groups Projects
Commit 2a6f614c authored by tedyu's avatar tedyu Committed by Davies Liu
Browse files

[SPARK-11006] Rename NullColumnAccess as NullColumnAccessor

davies
I think NullColumnAccessor follows same convention for other accessors

Author: tedyu <yuzhihong@gmail.com>

Closes #9028 from tedyu/master.
parent 22683560
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,7 @@ private[sql] abstract class BasicColumnAccessor[JvmType]( ...@@ -62,7 +62,7 @@ private[sql] abstract class BasicColumnAccessor[JvmType](
protected def underlyingBuffer = buffer protected def underlyingBuffer = buffer
} }
private[sql] class NullColumnAccess(buffer: ByteBuffer) private[sql] class NullColumnAccessor(buffer: ByteBuffer)
extends BasicColumnAccessor[Any](buffer, NULL) extends BasicColumnAccessor[Any](buffer, NULL)
with NullableColumnAccessor with NullableColumnAccessor
...@@ -125,7 +125,7 @@ private[sql] object ColumnAccessor { ...@@ -125,7 +125,7 @@ private[sql] object ColumnAccessor {
val buf = buffer.order(ByteOrder.nativeOrder) val buf = buffer.order(ByteOrder.nativeOrder)
dataType match { dataType match {
case NullType => new NullColumnAccess(buf) case NullType => new NullColumnAccessor(buf)
case BooleanType => new BooleanColumnAccessor(buf) case BooleanType => new BooleanColumnAccessor(buf)
case ByteType => new ByteColumnAccessor(buf) case ByteType => new ByteColumnAccessor(buf)
case ShortType => new ShortColumnAccessor(buf) case ShortType => new ShortColumnAccessor(buf)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment