@InterfaceStability.Evolving public class PositionBound extends Object
Position during queries. This can be used to specify that a query should fail if the locally available partition isn't caught up to the specified bound. "Unbounded" places no restrictions on the current location of the partition.| Modifier and Type | Method and Description |
|---|---|
static PositionBound | at(Position position)Creates a new PositionBound representing a specific position. |
boolean | equals(Object o) |
int | hashCode() |
boolean | isUnbounded()Returns true iff this object specifies that there is no position bound. |
Position | position()Returns the specific position of this bound. |
String | toString() |
static PositionBound | unbounded()Creates a new PositionBound representing "no bound" |
public static PositionBound unbounded()
public static PositionBound at(Position position)
public boolean isUnbounded()
public Position position()