Package org.apache.storm.hdfs.spout
Class TextFileReader.Offset
java.lang.Object
org.apache.storm.hdfs.spout.TextFileReader.Offset
- All Implemented Interfaces:
Cloneable
,Comparable<org.apache.storm.hdfs.spout.FileOffset>
- Enclosing class:
- TextFileReader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
compareTo
(org.apache.storm.hdfs.spout.FileOffset o) boolean
int
hashCode()
boolean
isNextOffset
(org.apache.storm.hdfs.spout.FileOffset rhs) toString()
-
Constructor Details
-
Offset
public Offset(long byteOffset, long lineNumber) -
Offset
-
-
Method Details
-
toString
-
isNextOffset
public boolean isNextOffset(org.apache.storm.hdfs.spout.FileOffset rhs) -
compareTo
public int compareTo(org.apache.storm.hdfs.spout.FileOffset o) - Specified by:
compareTo
in interfaceComparable<org.apache.storm.hdfs.spout.FileOffset>
-
equals
-
hashCode
public int hashCode() -
clone
-