Google Bigtable v2 API - Class ColumnRange (3.12.0)

public sealed class ColumnRange : IMessage<ColumnRange>, IEquatable<ColumnRange>, IDeepCloneable<ColumnRange>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Bigtable v2 API class ColumnRange.

Specifies a contiguous range of columns within a single column family. The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to &lt;column_family&gt;:&lt;end_qualifier&gt;, where both bounds can be either inclusive or exclusive.

Inheritance

object > ColumnRange

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

ColumnRange()

public ColumnRange()

ColumnRange(ColumnRange)

public ColumnRange(ColumnRange other)
Parameter
NameDescription
otherColumnRange

Properties

EndQualifierCase

public ColumnRange.EndQualifierOneofCase EndQualifierCase { get; }
Property Value
TypeDescription
ColumnRangeEndQualifierOneofCase

EndQualifierClosed

public ByteString EndQualifierClosed { get; set; }

Used when giving an inclusive upper bound for the range.

Property Value
TypeDescription
ByteString

EndQualifierOpen

public ByteString EndQualifierOpen { get; set; }

Used when giving an exclusive upper bound for the range.

Property Value
TypeDescription
ByteString

FamilyName

public string FamilyName { get; set; }

The name of the column family within which this range falls.

Property Value
TypeDescription
string

HasEndQualifierClosed

public bool HasEndQualifierClosed { get; }

Gets whether the "end_qualifier_closed" field is set

Property Value
TypeDescription
bool

HasEndQualifierOpen

public bool HasEndQualifierOpen { get; }

Gets whether the "end_qualifier_open" field is set

Property Value
TypeDescription
bool

HasStartQualifierClosed

public bool HasStartQualifierClosed { get; }

Gets whether the "start_qualifier_closed" field is set

Property Value
TypeDescription
bool

HasStartQualifierOpen

public bool HasStartQualifierOpen { get; }

Gets whether the "start_qualifier_open" field is set

Property Value
TypeDescription
bool

StartQualifierCase

public ColumnRange.StartQualifierOneofCase StartQualifierCase { get; }
Property Value
TypeDescription
ColumnRangeStartQualifierOneofCase

StartQualifierClosed

public ByteString StartQualifierClosed { get; set; }

Used when giving an inclusive lower bound for the range.

Property Value
TypeDescription
ByteString

StartQualifierOpen

public ByteString StartQualifierOpen { get; set; }

Used when giving an exclusive lower bound for the range.

Property Value
TypeDescription
ByteString

Methods

Closed(string, BigtableByteString?, BigtableByteString?)

public static ColumnRange Closed(string familyName, BigtableByteString? startQualifierClosed, BigtableByteString? endQualifierClosed)

Creates a ColumnRange instance with inclusive bounds.

Parameters
NameDescription
familyNamestring

The name of the column family within which this range falls. Must match [-_.a-zA-Z0-9]+

startQualifierClosedBigtableByteString

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

endQualifierClosedBigtableByteString

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

Returns
TypeDescription
ColumnRange

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

ClosedOpen(string, BigtableByteString?, BigtableByteString?)

public static ColumnRange ClosedOpen(string familyName, BigtableByteString? startQualifierClosed, BigtableByteString? endQualifierOpen)

Creates a ColumnRange instance with an inclusive lower bound and an exclusive upper bound.

Parameters
NameDescription
familyNamestring

The name of the column family within which this range falls. Must match [-_.a-zA-Z0-9]+

startQualifierClosedBigtableByteString

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

endQualifierOpenBigtableByteString

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

Returns
TypeDescription
ColumnRange

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

Open(string, BigtableByteString?, BigtableByteString?)

public static ColumnRange Open(string familyName, BigtableByteString? startQualifierOpen, BigtableByteString? endQualifierOpen)

Creates a ColumnRange instance with exclusive bounds.

Parameters
NameDescription
familyNamestring

The name of the column family within which this range falls. Must match [-_.a-zA-Z0-9]+

startQualifierOpenBigtableByteString

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

endQualifierOpenBigtableByteString

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

Returns
TypeDescription
ColumnRange

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

OpenClosed(string, BigtableByteString?, BigtableByteString?)

public static ColumnRange OpenClosed(string familyName, BigtableByteString? startQualifierOpen, BigtableByteString? endQualifierClosed)

Creates a ColumnRange instance with an exclusive lower bound and an inclusive upper bound.

Parameters
NameDescription
familyNamestring

The name of the column family within which this range falls. Must match [-_.a-zA-Z0-9]+

startQualifierOpenBigtableByteString

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

endQualifierClosedBigtableByteString

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

Returns
TypeDescription
ColumnRange

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