Class KeyRange (2.17.0)

public final class KeyRange implements Serializable

Inheritance

Object > KeyRange

Implements

Serializable

Static Methods

closedClosed(Key arg0, Key arg1)

public static KeyRange closedClosed(Key arg0, Key arg1)
Parameters
Name Description
arg0 Key
arg1 Key
Returns
Type Description
KeyRange

closedOpen(Key arg0, Key arg1)

public static KeyRange closedOpen(Key arg0, Key arg1)
Parameters
Name Description
arg0 Key
arg1 Key
Returns
Type Description
KeyRange

newBuilder()

public static KeyRange.Builder newBuilder()
Returns
Type Description
Builder

openClosed(Key arg0, Key arg1)

public static KeyRange openClosed(Key arg0, Key arg1)
Parameters
Name Description
arg0 Key
arg1 Key
Returns
Type Description
KeyRange

openOpen(Key arg0, Key arg1)

public static KeyRange openOpen(Key arg0, Key arg1)
Parameters
Name Description
arg0 Key
arg1 Key
Returns
Type Description
KeyRange

prefix(Key arg0)

public static KeyRange prefix(Key arg0)
Parameter
Name Description
arg0 Key
Returns
Type Description
KeyRange

Methods

equals(Object arg0)

public boolean equals(Object arg0)
Parameter
Name Description
arg0 Object
Returns
Type Description
boolean
Overrides

geEndType()

public KeyRange.Endpoint geEndType()
Returns
Type Description
Endpoint

getEnd()

public Key getEnd()
Returns
Type Description
Key

getStart()

public Key getStart()
Returns
Type Description
Key

getStartType()

public KeyRange.Endpoint getStartType()
Returns
Type Description
Endpoint

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public KeyRange.Builder toBuilder()
Returns
Type Description
Builder

toString()

public String toString()
Returns
Type Description
String
Overrides