Package com.infinyon.fluvio
Class Offset
java.lang.Object
com.infinyon.fluvio.Offset
Describes the position of a record in a Fluvio partition.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Offset
absolute
(long offset) Create an Offset at a specific absolute position in the partition.static Offset
Create an Offset pointing to the very first record in the partition.void
delete()
static Offset
end()
Create an Offset pointing to the very last record in the partition.protected void
finalize()
static Offset
from_beginning
(long offset) Create an Offset pointing to the record X positions from the beginning of the partition.static Offset
from_end
(long offset) Create an Offset pointing to the record X positions from the end of the partition.
-
Method Details
-
absolute
Create an Offset at a specific absolute position in the partition.- Throws:
Exception
-
beginning
Create an Offset pointing to the very first record in the partition. -
from_beginning
Create an Offset pointing to the record X positions from the beginning of the partition. -
end
Create an Offset pointing to the very last record in the partition. -
from_end
Create an Offset pointing to the record X positions from the end of the partition. -
delete
public void delete() -
finalize
-