Spring for Apache Hadoop

org.springframework.data.hadoop.store.support
Class InputContext

java.lang.Object
  extended by org.springframework.data.hadoop.store.support.InputContext

public class InputContext
extends java.lang.Object

Context keeping information about a current reading operation.

Author:
Janne Valkealahti

Constructor Summary
InputContext(long start, long end)
           
 
Method Summary
 long getEnd()
           
 long getPosition()
           
 long getStart()
           
 boolean isEndReached()
           
 void setEnd(long end)
           
 void setPosition(long position)
           
 void setStart(long start)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputContext

public InputContext(long start,
                    long end)
Method Detail

getStart

public long getStart()

setStart

public void setStart(long start)

getEnd

public long getEnd()

setEnd

public void setEnd(long end)

getPosition

public long getPosition()

setPosition

public void setPosition(long position)

isEndReached

public boolean isEndReached()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Spring for Apache Hadoop