Class Range.ByteStringRange
- java.lang.Object
-
- com.google.cloud.bigtable.data.v2.models.Range<com.google.protobuf.ByteString,R>
-
- com.google.cloud.bigtable.data.v2.models.Range.ByteStringRange
-
- All Implemented Interfaces:
Serializable
,Cloneable
public static final class Range.ByteStringRange extends Range<com.google.protobuf.ByteString,R> implements Serializable
Concrete Range for ByteStrings- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.cloud.bigtable.data.v2.models.Range
Range.BoundType, Range.ByteStringRange, Range.TimestampRange
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected R
clone()
static Range.ByteStringRange
create(com.google.protobuf.ByteString closedStart, com.google.protobuf.ByteString openEnd)
static Range.ByteStringRange
create(String closedStart, String openEnd)
R
endClosed(com.google.protobuf.ByteString end)
Creates a newRange
with the specified inclusive end and the current start.R
endClosed(String end)
Creates a newRange
with the specified inclusive end and the current start.R
endOpen(com.google.protobuf.ByteString end)
Creates a newRange
with the specified exclusive end and the current start.R
endOpen(String end)
Creates a newRange
with the specified exclusive end and the current start.boolean
equals(Object o)
int
hashCode()
R
of(String startClosed, String endOpen)
Creates a newRange
with the specified inclusive start and the specified exclusive end.static Range.ByteStringRange
prefix(com.google.protobuf.ByteString prefix)
static Range.ByteStringRange
prefix(String prefix)
static com.google.protobuf.ByteString
serializeToByteString(Range.ByteStringRange byteStringRange)
R
startClosed(com.google.protobuf.ByteString start)
Creates a newRange
with the specified inclusive start and the current end.R
startClosed(String start)
Creates a newRange
with the specified inclusive start and the current end.R
startOpen(com.google.protobuf.ByteString start)
Creates a newRange
with the specified exclusive start and the current end.R
startOpen(String start)
Creates a newRange
with the specified exclusive start and the current end.static Range.ByteStringRange
toByteStringRange(com.google.protobuf.ByteString byteString)
static Range.ByteStringRange
unbounded()
-
Methods inherited from class com.google.cloud.bigtable.data.v2.models.Range
endUnbounded, getEnd, getEndBound, getStart, getStartBound, of, startUnbounded
-
-
-
-
Method Detail
-
prefix
public static Range.ByteStringRange prefix(String prefix)
-
prefix
public static Range.ByteStringRange prefix(com.google.protobuf.ByteString prefix)
-
unbounded
public static Range.ByteStringRange unbounded()
-
create
public static Range.ByteStringRange create(com.google.protobuf.ByteString closedStart, com.google.protobuf.ByteString openEnd)
-
create
public static Range.ByteStringRange create(String closedStart, String openEnd)
-
serializeToByteString
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static com.google.protobuf.ByteString serializeToByteString(Range.ByteStringRange byteStringRange)
-
toByteStringRange
@InternalApi("Intended for use by the BigtableIO in apache/beam only.") public static Range.ByteStringRange toByteStringRange(com.google.protobuf.ByteString byteString) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
of
public R of(String startClosed, String endOpen)
Creates a newRange
with the specified inclusive start and the specified exclusive end.
-
startOpen
public R startOpen(@Nonnull String start)
Creates a newRange
with the specified exclusive start and the current end.
-
startClosed
public R startClosed(@Nonnull String start)
Creates a newRange
with the specified inclusive start and the current end.
-
endOpen
public R endOpen(@Nonnull String end)
Creates a newRange
with the specified exclusive end and the current start.
-
endClosed
public R endClosed(@Nonnull String end)
Creates a newRange
with the specified inclusive end and the current start.
-
startOpen
public R startOpen(@Nonnull com.google.protobuf.ByteString start)
Description copied from class:Range
Creates a newRange
with the specified exclusive start and the current end.
-
startClosed
public R startClosed(@Nonnull com.google.protobuf.ByteString start)
Description copied from class:Range
Creates a newRange
with the specified inclusive start and the current end.- Overrides:
startClosed
in classRange<com.google.protobuf.ByteString,R extends com.google.cloud.bigtable.data.v2.models.Range.AbstractByteStringRange<R>>
-
endOpen
public R endOpen(@Nonnull com.google.protobuf.ByteString end)
Description copied from class:Range
Creates a newRange
with the specified exclusive end and the current start.
-
endClosed
public R endClosed(@Nonnull com.google.protobuf.ByteString end)
Description copied from class:Range
Creates a newRange
with the specified inclusive end and the current start.
-
-