diff --git a/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRDDMatrixRow.scala b/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRDDMatrixRow.scala deleted file mode 100644 index 8c9a9a857646c..0000000000000 --- a/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRDDMatrixRow.scala +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.spark.mllib.linalg.rdd - -import org.apache.spark.mllib.linalg.Vector - -/** Represents a row of RowRDDMatrix. */ -case class IndexedRDDMatrixRow(index: Long, vector: Vector) diff --git a/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRowRDDMatrix.scala b/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRowRDDMatrix.scala index d1dbd0a017c2d..c3e50f1160175 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRowRDDMatrix.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/linalg/rdd/IndexedRowRDDMatrix.scala @@ -18,6 +18,10 @@ package org.apache.spark.mllib.linalg.rdd import org.apache.spark.rdd.RDD +import org.apache.spark.mllib.linalg.Vector + +/** Represents a row of RowRDDMatrix. */ +case class IndexedRDDMatrixRow(index: Long, vector: Vector) /** * Represents a row-oriented RDDMatrix with indexed rows.