Class EncodedOffsetPair
java.lang.Object
io.confluent.parallelconsumer.offsets.EncodedOffsetPair
- All Implemented Interfaces:
Comparable<EncodedOffsetPair>
public final class EncodedOffsetPair extends Object implements Comparable<EncodedOffsetPair>
- See Also:
unwrap(byte[])
-
Field Summary
Fields Modifier and Type Field Description static Comparator<EncodedOffsetPair>SIZE_COMPARATOR -
Method Summary
Modifier and Type Method Description intcompareTo(EncodedOffsetPair o)ByteBuffergetData()OffsetMapCodecManager.HighestOffsetAndIncompletesgetDecodedIncompletes(long baseOffset)StringgetDecodedString()OffsetEncodinggetEncoding()byte[]readDataArrayForDebug()Copies array out of the ByteBufferStringtoString()Used for printing out the comparative map of each encoder
-
Field Details
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<EncodedOffsetPair>
-
toString
Used for printing out the comparative map of each encoder -
readDataArrayForDebug
public byte[] readDataArrayForDebug()Copies array out of the ByteBuffer -
getDecodedString
-
getDecodedIncompletes
-
getEncoding
-
getData
-