Class BufferPullee<IK,IV>
java.lang.Object
org.apache.hadoop.mapred.nativetask.handlers.BufferPullee<IK,IV>
- All Implemented Interfaces:
IDataLoader
load data into a buffer signaled by a
BufferPuller-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBufferPullee(Class<IK> iKClass, Class<IV> iVClass, org.apache.hadoop.mapred.RawKeyValueIterator rIter, NativeDataTarget target) -
Method Summary
-
Field Details
-
KV_HEADER_LENGTH
public static final int KV_HEADER_LENGTH- See Also:
-
serializer
-
-
Constructor Details
-
BufferPullee
public BufferPullee(Class<IK> iKClass, Class<IV> iVClass, org.apache.hadoop.mapred.RawKeyValueIterator rIter, NativeDataTarget target) throws IOException - Throws:
IOException
-
-
Method Details
-
load
- Specified by:
loadin interfaceIDataLoader- Returns:
- size of data loaded
- Throws:
IOException
-
close
- Specified by:
closein interfaceIDataLoader- Throws:
IOException
-