Class Offset

public abstract class Offset implements Comparable<Offset>, Serializable

An offset in the partition.

Inheritance

java.lang.Object > Offset

Constructors

Offset()

public Offset()

Methods

compareTo(Offset o)

public int compareTo(Offset o)
Parameter
NameDescription
oOffset
Returns
TypeDescription
int

of(long offset)

public static Offset of(long offset)

Create an offset.

Parameter
NameDescription
offsetlong
Returns
TypeDescription
Offset

value()

public abstract long value()

The long value of this offset.

Returns
TypeDescription
long