@Evolving public class RecordsToDelete extends java.lang.Object
AdminClient.deleteRecords(Map)
The API of this class is evolving, see AdminClient
for details.Modifier and Type | Method | Description |
---|---|---|
long |
beforeOffset() |
The offset before which all records will be deleted
|
static RecordsToDelete |
beforeOffset(long offset) |
Delete all the records before the given
offset |
boolean |
equals(java.lang.Object o) |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public static RecordsToDelete beforeOffset(long offset)
offset
offset
- the offset before which all records will be deletedpublic long beforeOffset()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object