public sealed class RowRange : IMessage<RowRange>, IEquatable<RowRange>, IDeepCloneable<RowRange>, IBufferMessage, IMessage
Specifies a contiguous range of rows.
Implements
IMessage<RowRange>, IEquatable<RowRange>, IDeepCloneable<RowRange>, IBufferMessage, IMessageNamespace
Google.Cloud.Bigtable.V2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
RowRange()
public RowRange()
RowRange(RowRange)
public RowRange(RowRange other)
Parameter | |
---|---|
Name | Description |
other | RowRange |
Properties
EndKeyCase
public RowRange.EndKeyOneofCase EndKeyCase { get; }
Property Value | |
---|---|
Type | Description |
RowRange.EndKeyOneofCase |
EndKeyClosed
public ByteString EndKeyClosed { get; set; }
Used when giving an inclusive upper bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
EndKeyOpen
public ByteString EndKeyOpen { get; set; }
Used when giving an exclusive upper bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
StartKeyCase
public RowRange.StartKeyOneofCase StartKeyCase { get; }
Property Value | |
---|---|
Type | Description |
RowRange.StartKeyOneofCase |
StartKeyClosed
public ByteString StartKeyClosed { get; set; }
Used when giving an inclusive lower bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
StartKeyOpen
public ByteString StartKeyOpen { get; set; }
Used when giving an exclusive lower bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
Methods
Closed(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static RowRange Closed(BigtableByteString? startKeyClosed, BigtableByteString? endKeyClosed)
Creates a RowRange instance with inclusive bounds.
Parameters | |
---|---|
Name | Description |
startKeyClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endKeyClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |
Returns | |
---|---|
Type | Description |
RowRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the key.
ClosedOpen(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static RowRange ClosedOpen(BigtableByteString? startKeyClosed, BigtableByteString? endKeyOpen)
Creates a RowRange instance with an inclusive lower bound and an exclusive upper bound.
Parameters | |
---|---|
Name | Description |
startKeyClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endKeyOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |
Returns | |
---|---|
Type | Description |
RowRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the key.
Open(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static RowRange Open(BigtableByteString? startKeyOpen, BigtableByteString? endKeyOpen)
Creates a RowRange instance with exclusive bounds.
Parameters | |
---|---|
Name | Description |
startKeyOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endKeyOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |
Returns | |
---|---|
Type | Description |
RowRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the key.
OpenClosed(Nullable<BigtableByteString>, Nullable<BigtableByteString>)
public static RowRange OpenClosed(BigtableByteString? startKeyOpen, BigtableByteString? endKeyClosed)
Creates a RowRange instance with an exclusive lower bound and an inclusive upper bound.
Parameters | |
---|---|
Name | Description |
startKeyOpen | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endKeyClosed | Nullable<Google.Cloud.Bigtable.Common.V2.BigtableByteString> The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite row key. |
Returns | |
---|---|
Type | Description |
RowRange | The created range. |
Note that string is implicitly convertible to Google.Cloud.Bigtable.Common.V2.BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the key.