Google Bigtable v2 API - Class ValueRange (3.14.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
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

HasEndValueClosed

public bool HasEndValueClosed { get; }

Gets whether the "end_value_closed" field is set

Property Value
Type Description
bool

HasEndValueOpen

public bool HasEndValueOpen { get; }

Gets whether the "end_value_open" field is set

Property Value
Type Description
bool

HasStartValueClosed

public bool HasStartValueClosed { get; }

Gets whether the "start_value_closed" field is set

Property Value
Type Description
bool

HasStartValueOpen

public bool HasStartValueOpen { get; }

Gets whether the "start_value_open" field is set

Property Value
Type Description
bool

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.

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
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.

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
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.

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
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.

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.