public static class TextFileReader.Offset extends Object
Constructor and Description |
---|
Offset(long byteOffset,
long lineNumber) |
Offset(String offset) |
Modifier and Type | Method and Description |
---|---|
TextFileReader.Offset |
clone() |
int |
compareTo(org.apache.storm.hdfs.spout.FileOffset o) |
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
isNextOffset(org.apache.storm.hdfs.spout.FileOffset rhs)
tests if rhs == currOffset+1
|
String |
toString() |
public Offset(long byteOffset, long lineNumber)
public Offset(String offset)
public boolean isNextOffset(org.apache.storm.hdfs.spout.FileOffset rhs)
public int compareTo(org.apache.storm.hdfs.spout.FileOffset o)
public TextFileReader.Offset clone()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.