Skip to content

Commit

Permalink
Merge pull request #9 from GregOwen/countDistinctPartial
Browse files Browse the repository at this point in the history
Made SpecificRow and types serializable by Kryo
  • Loading branch information
marmbrus committed Aug 19, 2014
2 parents 2b46c4b + c9e67de commit 3868f6c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ s"""
}.foreach(println)
}}}
*/
abstract class MutableValue {
abstract class MutableValue extends Serializable {
var isNull: Boolean = true
def boxed: Any
def update(v: Any)
Expand Down Expand Up @@ -197,6 +197,8 @@ class SpecificMutableRow(val values: Array[MutableValue]) extends MutableRow {
case _ => new MutableAny
}.toArray)

def this() = this(Seq.empty)

override def length: Int = values.length

override def setNullAt(i: Int): Unit = {
Expand Down

0 comments on commit 3868f6c

Please sign in to comment.