Skip to content

Commit

Permalink
add overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Jul 9, 2014
1 parent a2b5408 commit 92e74a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ case class InterpretedMutableProjection(expressions: Seq[Expression]) extends Mu
private[this] var mutableRow: MutableRow = new GenericMutableRow(exprArray.size)
def currentValue: Row = mutableRow

def target(row: MutableRow): MutableProjection = {
override def target(row: MutableRow): MutableProjection = {
mutableRow = row
this
}

def apply(input: Row): Row = {
override def apply(input: Row): Row = {
var i = 0
while (i < exprArray.length) {
mutableRow(i) = exprArray(i).eval(input)
Expand Down

0 comments on commit 92e74a4

Please sign in to comment.