org.apache.hadoop.mrunit.mapreduce.mock
Class MockInputSplit

java.lang.Object
  extended by org.apache.hadoop.mapreduce.InputSplit
      extended by org.apache.hadoop.mapreduce.lib.input.FileSplit
          extended by org.apache.hadoop.mrunit.mapreduce.mock.MockInputSplit
All Implemented Interfaces:
org.apache.hadoop.io.Writable

public class MockInputSplit
extends org.apache.hadoop.mapreduce.lib.input.FileSplit

Mock implementation of InputSplit that does nothing.


Constructor Summary
MockInputSplit()
           
 
Method Summary
static org.apache.hadoop.fs.Path getMockPath()
          Return the path object represented by this as a FileSplit.
 String toString()
           
 
Methods inherited from class org.apache.hadoop.mapreduce.lib.input.FileSplit
getLength, getLocations, getPath, getStart, readFields, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MockInputSplit

public MockInputSplit()
Method Detail

toString

public String toString()
Overrides:
toString in class org.apache.hadoop.mapreduce.lib.input.FileSplit

getMockPath

public static org.apache.hadoop.fs.Path getMockPath()
Return the path object represented by this as a FileSplit.



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.