public static class Offsets.PartitionOffset extends Object implements Comparable<Offsets.PartitionOffset>
Modifier and Type | Class and Description |
---|---|
static class |
Offsets.PartitionOffset.Builder
Builder for
Offsets.PartitionOffset |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Offsets.PartitionOffset other) |
boolean |
equals(Object obj) |
long |
getOffset()
Returns the offset
|
int |
getPartition()
Returns the partition
|
String |
getTopic()
Returns the topic
|
int |
hashCode() |
public String getTopic()
public int getPartition()
public long getOffset()
public int compareTo(Offsets.PartitionOffset other)
compareTo
in interface Comparable<Offsets.PartitionOffset>
Copyright © 2017 The Apache Software Foundation. All rights reserved.