public sealed class ValueRange : IMessage<ValueRange>, IEquatable<ValueRange>, IDeepCloneable<ValueRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Bigtable v2 API class ValueRange.
Specifies a contiguous range of raw byte values.
Implements
IMessageValueRange, IEquatableValueRange, IDeepCloneableValueRange, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.BigtableV2Assembly
Google.Cloud.Bigtable.V2.dll
Constructors
ValueRange()
public ValueRange()
ValueRange(ValueRange)
public ValueRange(ValueRange other)
Parameter | |
---|---|
Name | Description |
other | ValueRange |
Properties
EndValueCase
public ValueRange.EndValueOneofCase EndValueCase { get; }
Property Value | |
---|---|
Type | Description |
ValueRangeEndValueOneofCase |
EndValueClosed
public ByteString EndValueClosed { get; set; }
Used when giving an inclusive upper bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
EndValueOpen
public ByteString EndValueOpen { get; set; }
Used when giving an exclusive upper bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
StartValueCase
public ValueRange.StartValueOneofCase StartValueCase { get; }
Property Value | |
---|---|
Type | Description |
ValueRangeStartValueOneofCase |
StartValueClosed
public ByteString StartValueClosed { get; set; }
Used when giving an inclusive lower bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
StartValueOpen
public ByteString StartValueOpen { get; set; }
Used when giving an exclusive lower bound for the range.
Property Value | |
---|---|
Type | Description |
ByteString |
Methods
Closed(BigtableByteString?, BigtableByteString?)
public static ValueRange Closed(BigtableByteString? startValueClosed, BigtableByteString? endValueClosed)
Creates a ValueRange instance with inclusive bounds.
Parameters | |
---|---|
Name | Description |
startValueClosed | BigtableByteString The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueClosed | BigtableByteString The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.
ClosedOpen(BigtableByteString?, BigtableByteString?)
public static ValueRange ClosedOpen(BigtableByteString? startValueClosed, BigtableByteString? endValueOpen)
Creates a ValueRange instance with an inclusive lower bound and an exclusive upper bound.
Parameters | |
---|---|
Name | Description |
startValueClosed | BigtableByteString The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueOpen | BigtableByteString The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.
Open(BigtableByteString?, BigtableByteString?)
public static ValueRange Open(BigtableByteString? startValueOpen, BigtableByteString? endValueOpen)
Creates a ValueRange instance with exclusive bounds.
Parameters | |
---|---|
Name | Description |
startValueOpen | BigtableByteString The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueOpen | BigtableByteString The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.
OpenClosed(BigtableByteString?, BigtableByteString?)
public static ValueRange OpenClosed(BigtableByteString? startValueOpen, BigtableByteString? endValueClosed)
Creates a ValueRange instance with an exclusive lower bound and an inclusive upper bound.
Parameters | |
---|---|
Name | Description |
startValueOpen | BigtableByteString The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string. |
endValueClosed | BigtableByteString The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value. |
Returns | |
---|---|
Type | Description |
ValueRange | The created range. |
Note that string is implicitly convertible to BigtableByteString, so the ranges can be specified using strings as well and their UTF-8 representations will be used for the value.