Class Range.ByteStringRange (2.28.0)

public static final class Range.ByteStringRange extends Range.AbstractByteStringRange<Range.ByteStringRange> implements Serializable

Concrete Range for ByteStrings

Inheritance

Object > Range<T,R> > com.google.cloud.bigtable.data.v2.models.Range.AbstractByteStringRange > Range.ByteStringRange

Implements

Serializable

Static Methods

create(ByteString closedStart, ByteString openEnd)

public static Range.ByteStringRange create(ByteString closedStart, ByteString openEnd)
Parameters
NameDescription
closedStartByteString
openEndByteString
Returns
TypeDescription
Range.ByteStringRange

create(String closedStart, String openEnd)

public static Range.ByteStringRange create(String closedStart, String openEnd)
Parameters
NameDescription
closedStartString
openEndString
Returns
TypeDescription
Range.ByteStringRange

prefix(ByteString prefix)

public static Range.ByteStringRange prefix(ByteString prefix)
Parameter
NameDescription
prefixByteString
Returns
TypeDescription
Range.ByteStringRange

prefix(String prefix)

public static Range.ByteStringRange prefix(String prefix)
Parameter
NameDescription
prefixString
Returns
TypeDescription
Range.ByteStringRange

serializeToByteString(Range.ByteStringRange byteStringRange)

public static ByteString serializeToByteString(Range.ByteStringRange byteStringRange)
Parameter
NameDescription
byteStringRangeRange.ByteStringRange
Returns
TypeDescription
ByteString

toByteStringRange(ByteString byteString)

public static Range.ByteStringRange toByteStringRange(ByteString byteString)
Parameter
NameDescription
byteStringByteString
Returns
TypeDescription
Range.ByteStringRange
Exceptions
TypeDescription
InvalidProtocolBufferException

unbounded()

public static Range.ByteStringRange unbounded()
Returns
TypeDescription
Range.ByteStringRange

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides