Skip to content
Prev Previous commit
Next Next commit
Making FileSegment a case class
  • Loading branch information
harishreedharan committed Oct 1, 2014
commit faff28295b8254d33447d31d2dd65ea6eda2a24e
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
*/
package org.apache.spark.streaming.storage

class FileSegment (val path: String, val offset: Long, val length: Int)
case class FileSegment (path: String, offset: Long, length: Int)