Class TargetRange (6.107.0)

public class TargetRange

Represents a key range with start and limit boundaries for routing.

Inheritance

java.lang.Object > TargetRange

Constructors

TargetRange(ByteString start, ByteString limit, boolean approximate)

public TargetRange(ByteString start, ByteString limit, boolean approximate)
Parameters
Name Description
start ByteString
limit ByteString
approximate boolean

Fields

approximate

public boolean approximate
Field Value
Type Description
boolean

limit

public ByteString limit
Field Value
Type Description
ByteString

start

public ByteString start
Field Value
Type Description
ByteString

Methods

isPoint()

public boolean isPoint()
Returns
Type Description
boolean

mergeFrom(TargetRange other)

public void mergeFrom(TargetRange other)

Merges another TargetRange into this one. The resulting range will be the union of the two ranges, taking the minimum start key and maximum limit key.

Parameter
Name Description
other TargetRange