Google Bigtable v2 API - Class ValueRange (3.7.0)

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.

Inheritance

object > ValueRange

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

ValueRange()

public ValueRange()

ValueRange(ValueRange)

public ValueRange(ValueRange other)
Parameter
NameDescription
otherValueRange

Properties

EndValueCase

public ValueRange.EndValueOneofCase EndValueCase { get; }
Property Value
TypeDescription
ValueRangeEndValueOneofCase

EndValueClosed

public ByteString EndValueClosed { get; set; }

Used when giving an inclusive upper bound for the range.

Property Value
TypeDescription
ByteString

EndValueOpen

public ByteString EndValueOpen { get; set; }

Used when giving an exclusive upper bound for the range.

Property Value
TypeDescription
ByteString

HasEndValueClosed

public bool HasEndValueClosed { get; }

Gets whether the "end_value_closed" field is set

Property Value
TypeDescription
bool

HasEndValueOpen

public bool HasEndValueOpen { get; }

Gets whether the "end_value_open" field is set

Property Value
TypeDescription
bool

HasStartValueClosed

public bool HasStartValueClosed { get; }

Gets whether the "start_value_closed" field is set

Property Value
TypeDescription
bool

HasStartValueOpen

public bool HasStartValueOpen { get; }

Gets whether the "start_value_open" field is set

Property Value
TypeDescription
bool

StartValueCase

public ValueRange.StartValueOneofCase StartValueCase { get; }
Property Value
TypeDescription
ValueRangeStartValueOneofCase

StartValueClosed

public ByteString StartValueClosed { get; set; }

Used when giving an inclusive lower bound for the range.

Property Value
TypeDescription
ByteString

StartValueOpen

public ByteString StartValueOpen { get; set; }

Used when giving an exclusive lower bound for the range.

Property Value
TypeDescription
ByteString

Methods

Closed(BigtableByteString?, BigtableByteString?)

public static ValueRange Closed(BigtableByteString? startValueClosed, BigtableByteString? endValueClosed)

Creates a ValueRange instance with inclusive bounds.

Parameters
NameDescription
startValueClosedBigtableByteString

The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueClosedBigtableByteString

The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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
NameDescription
startValueClosedBigtableByteString

The inclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueOpenBigtableByteString

The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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
NameDescription
startValueOpenBigtableByteString

The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueOpenBigtableByteString

The exclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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
NameDescription
startValueOpenBigtableByteString

The exclusive lower bound for the range. If null or empty, it is interpreted as the empty string.

endValueClosedBigtableByteString

The inclusive upper bound for the range. If null or empty, it is interpreted as the infinite value.

Returns
TypeDescription
ValueRange

The created range.

Remarks

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.