org.apache.pig.pen
Class FakeRawKeyValueIterator

java.lang.Object
  extended by org.apache.pig.pen.FakeRawKeyValueIterator
All Implemented Interfaces:
org.apache.hadoop.mapred.RawKeyValueIterator

public class FakeRawKeyValueIterator
extends Object
implements org.apache.hadoop.mapred.RawKeyValueIterator


Constructor Summary
FakeRawKeyValueIterator(boolean hasData)
           
 
Method Summary
 void close()
           
 org.apache.hadoop.io.DataInputBuffer getKey()
           
 org.apache.hadoop.util.Progress getProgress()
           
 org.apache.hadoop.io.DataInputBuffer getValue()
           
 boolean next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FakeRawKeyValueIterator

public FakeRawKeyValueIterator(boolean hasData)
Method Detail

getKey

public org.apache.hadoop.io.DataInputBuffer getKey()
Specified by:
getKey in interface org.apache.hadoop.mapred.RawKeyValueIterator

close

public void close()
Specified by:
close in interface org.apache.hadoop.mapred.RawKeyValueIterator

getProgress

public org.apache.hadoop.util.Progress getProgress()
Specified by:
getProgress in interface org.apache.hadoop.mapred.RawKeyValueIterator

getValue

public org.apache.hadoop.io.DataInputBuffer getValue()
Specified by:
getValue in interface org.apache.hadoop.mapred.RawKeyValueIterator

next

public boolean next()
Specified by:
next in interface org.apache.hadoop.mapred.RawKeyValueIterator


Copyright © 2007-2012 The Apache Software Foundation