Class Range.ByteStringRange (2.39.5)

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
Name Description
closedStart ByteString
openEnd ByteString
Returns
Type Description
Range.ByteStringRange

create(String closedStart, String openEnd)

public static Range.ByteStringRange create(String closedStart, String openEnd)
Parameters
Name Description
closedStart String
openEnd String
Returns
Type Description
Range.ByteStringRange

prefix(ByteString prefix)

public static Range.ByteStringRange prefix(ByteString prefix)
Parameter
Name Description
prefix ByteString
Returns
Type Description
Range.ByteStringRange

prefix(String prefix)

public static Range.ByteStringRange prefix(String prefix)
Parameter
Name Description
prefix String
Returns
Type Description
Range.ByteStringRange

serializeToByteString(Range.ByteStringRange byteStringRange)

public static ByteString serializeToByteString(Range.ByteStringRange byteStringRange)
Parameter
Name Description
byteStringRange Range.ByteStringRange
Returns
Type Description
ByteString

toByteStringRange(ByteString byteString)

public static Range.ByteStringRange toByteStringRange(ByteString byteString)
Parameter
Name Description
byteString ByteString
Returns
Type Description
Range.ByteStringRange
Exceptions
Type Description
InvalidProtocolBufferException

unbounded()

public static Range.ByteStringRange unbounded()
Returns
Type Description
Range.ByteStringRange

Methods

equals(Object o)

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides