Skip to content

Commit

Permalink
removed unneeded classes added DeveloperApi note to portabledatastrea…
Browse files Browse the repository at this point in the history
…ms since the implementation might change
  • Loading branch information
kmader committed Oct 2, 2014
1 parent 49174d9 commit a32fef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/scala/org/apache/spark/input/RawFileInput.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import java.io.{ ByteArrayInputStream, ByteArrayOutputStream, DataOutputStream,
* A general format for reading whole files in as streams, byte arrays,
* or other functions to be added
*/
abstract class StreamFileInputFormat[T]
private[spark] abstract class StreamFileInputFormat[T]
extends CombineFileInputFormat[String, T] {
override protected def isSplitable(context: JobContext, file: Path): Boolean = false
/**
Expand Down Expand Up @@ -152,7 +152,7 @@ class PortableDataStream(@transient isplit: CombineFileSplit,
* An abstract class of [[org.apache.hadoop.mapreduce.RecordReader RecordReader]]
* to reading files out as streams
*/
abstract class StreamBasedRecordReader[T](
private[spark] abstract class StreamBasedRecordReader[T](
split: CombineFileSplit,
context: TaskAttemptContext,
index: Integer)
Expand Down

0 comments on commit a32fef7

Please sign in to comment.