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 Rclone()static Range.ByteStringRangecreate(com.google.protobuf.ByteString closedStart, com.google.protobuf.ByteString openEnd)static Range.ByteStringRangecreate(String closedStart, String openEnd)RendClosed(com.google.protobuf.ByteString end)Creates a newRangewith the specified inclusive end and the current start.RendClosed(String end)Creates a newRangewith the specified inclusive end and the current start.RendOpen(com.google.protobuf.ByteString end)Creates a newRangewith the specified exclusive end and the current start.RendOpen(String end)Creates a newRangewith the specified exclusive end and the current start.booleanequals(Object o)inthashCode()Rof(String startClosed, String endOpen)Creates a newRangewith the specified inclusive start and the specified exclusive end.static Range.ByteStringRangeprefix(com.google.protobuf.ByteString prefix)static Range.ByteStringRangeprefix(String prefix)static com.google.protobuf.ByteStringserializeToByteString(Range.ByteStringRange byteStringRange)RstartClosed(com.google.protobuf.ByteString start)Creates a newRangewith the specified inclusive start and the current end.RstartClosed(String start)Creates a newRangewith the specified inclusive start and the current end.RstartOpen(com.google.protobuf.ByteString start)Creates a newRangewith the specified exclusive start and the current end.RstartOpen(String start)Creates a newRangewith the specified exclusive start and the current end.static Range.ByteStringRangetoByteStringRange(com.google.protobuf.ByteString byteString)static Range.ByteStringRangeunbounded()-
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 newRangewith the specified inclusive start and the specified exclusive end.
-
startOpen
public R startOpen(@Nonnull String start)
Creates a newRangewith the specified exclusive start and the current end.
-
startClosed
public R startClosed(@Nonnull String start)
Creates a newRangewith the specified inclusive start and the current end.
-
endOpen
public R endOpen(@Nonnull String end)
Creates a newRangewith the specified exclusive end and the current start.
-
endClosed
public R endClosed(@Nonnull String end)
Creates a newRangewith the specified inclusive end and the current start.
-
startOpen
public R startOpen(@Nonnull com.google.protobuf.ByteString start)
Description copied from class:RangeCreates a newRangewith the specified exclusive start and the current end.
-
startClosed
public R startClosed(@Nonnull com.google.protobuf.ByteString start)
Description copied from class:RangeCreates a newRangewith the specified inclusive start and the current end.- Overrides:
startClosedin 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:RangeCreates a newRangewith the specified exclusive end and the current start.
-
endClosed
public R endClosed(@Nonnull com.google.protobuf.ByteString end)
Description copied from class:RangeCreates a newRangewith the specified inclusive end and the current start.
-
-