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 <column_family>:<start_qualifier> to
<column_family>:<end_qualifier>, where both bounds can be either
inclusive or exclusive.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eColumnRange\u003c/code\u003e class in the Google Bigtable v2 API specifies a contiguous range of columns within a single column family, with options for inclusive or exclusive bounds.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the Google.Cloud.Bigtable.V2 API available, with the latest being 3.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eColumnRange\u003c/code\u003e class provides properties for setting inclusive (\u003ccode\u003eEndQualifierClosed\u003c/code\u003e, \u003ccode\u003eStartQualifierClosed\u003c/code\u003e) and exclusive (\u003ccode\u003eEndQualifierOpen\u003c/code\u003e, \u003ccode\u003eStartQualifierOpen\u003c/code\u003e) upper and lower bounds for the range, as well as methods to create instances of \u003ccode\u003eColumnRange\u003c/code\u003e with each kind of bound combination.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFamilyName\u003c/code\u003e property of the \u003ccode\u003eColumnRange\u003c/code\u003e class indicates the name of the column family to which the range belongs, and qualifier boundaries can use \u003ccode\u003eBigtableByteString\u003c/code\u003e or strings.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers methods such as \u003ccode\u003eClosed\u003c/code\u003e, \u003ccode\u003eClosedOpen\u003c/code\u003e, \u003ccode\u003eOpen\u003c/code\u003e, and \u003ccode\u003eOpenClosed\u003c/code\u003e to create \u003ccode\u003eColumnRange\u003c/code\u003e instances, allowing specification of column family names and qualifier bounds, either using \u003ccode\u003eBigtableByteString\u003c/code\u003e or by using string directly, which will be automatically converted to a UTF-8 representation.\u003c/p\u003e\n"]]],[],null,["# Google Bigtable v2 API - Class ColumnRange (3.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.23.0 (latest)](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.22.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.22.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.21.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.21.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.20.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.20.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.19.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.19.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.18.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.18.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.17.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.16.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.15.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.14.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.13.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.12.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.11.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.10.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.9.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.8.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.7.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.6.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.5.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.4.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.3.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.2.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.1.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/3.0.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.6.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.5.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.4.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.3.0/Google.Cloud.Bigtable.V2.ColumnRange)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/2.2.0/Google.Cloud.Bigtable.V2.ColumnRange) \n\n public sealed class ColumnRange : IMessage\u003cColumnRange\u003e, IEquatable\u003cColumnRange\u003e, IDeepCloneable\u003cColumnRange\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Bigtable v2 API class ColumnRange.\n\nSpecifies a contiguous range of columns within a single column family.\nThe range spans from \\<column_family\\>:\\<start_qualifier\\> to\n\\<column_family\\>:\\<end_qualifier\\>, where both bounds can be either\ninclusive or exclusive. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ColumnRange \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Bigtable.V2](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Bigtable.V2.dll\n\nConstructors\n------------\n\n### ColumnRange()\n\n public ColumnRange()\n\n### ColumnRange(ColumnRange)\n\n public ColumnRange(ColumnRange other)\n\nProperties\n----------\n\n### EndQualifierCase\n\n public ColumnRange.EndQualifierOneofCase EndQualifierCase { get; }\n\n### EndQualifierClosed\n\n public ByteString EndQualifierClosed { get; set; }\n\nUsed when giving an inclusive upper bound for the range.\n\n### EndQualifierOpen\n\n public ByteString EndQualifierOpen { get; set; }\n\nUsed when giving an exclusive upper bound for the range.\n\n### FamilyName\n\n public string FamilyName { get; set; }\n\nThe name of the column family within which this range falls.\n\n### HasEndQualifierClosed\n\n public bool HasEndQualifierClosed { get; }\n\nGets whether the \"end_qualifier_closed\" field is set\n\n### HasEndQualifierOpen\n\n public bool HasEndQualifierOpen { get; }\n\nGets whether the \"end_qualifier_open\" field is set\n\n### HasStartQualifierClosed\n\n public bool HasStartQualifierClosed { get; }\n\nGets whether the \"start_qualifier_closed\" field is set\n\n### HasStartQualifierOpen\n\n public bool HasStartQualifierOpen { get; }\n\nGets whether the \"start_qualifier_open\" field is set\n\n### StartQualifierCase\n\n public ColumnRange.StartQualifierOneofCase StartQualifierCase { get; }\n\n### StartQualifierClosed\n\n public ByteString StartQualifierClosed { get; set; }\n\nUsed when giving an inclusive lower bound for the range.\n\n### StartQualifierOpen\n\n public ByteString StartQualifierOpen { get; set; }\n\nUsed when giving an exclusive lower bound for the range.\n\nMethods\n-------\n\n### Closed(string, BigtableByteString?, BigtableByteString?)\n\n public static ColumnRange Closed(string familyName, BigtableByteString? startQualifierClosed, BigtableByteString? endQualifierClosed)\n\nCreates a [ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange) instance with inclusive bounds.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the qualifier.\n\n### ClosedOpen(string, BigtableByteString?, BigtableByteString?)\n\n public static ColumnRange ClosedOpen(string familyName, BigtableByteString? startQualifierClosed, BigtableByteString? endQualifierOpen)\n\nCreates a [ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange) instance with an inclusive lower bound and an exclusive upper bound.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the qualifier.\n\n### Open(string, BigtableByteString?, BigtableByteString?)\n\n public static ColumnRange Open(string familyName, BigtableByteString? startQualifierOpen, BigtableByteString? endQualifierOpen)\n\nCreates a [ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange) instance with exclusive bounds.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the qualifier.\n\n### OpenClosed(string, BigtableByteString?, BigtableByteString?)\n\n public static ColumnRange OpenClosed(string familyName, BigtableByteString? startQualifierOpen, BigtableByteString? endQualifierClosed)\n\nCreates a [ColumnRange](/dotnet/docs/reference/Google.Cloud.Bigtable.V2/latest/Google.Cloud.Bigtable.V2.ColumnRange) instance with an exclusive lower bound and an inclusive upper bound.\n\n**Remarks** \n\nNote that string is implicitly convertible to [BigtableByteString](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Bigtable.Common.V2/latest/Google.Cloud.Bigtable.Common.V2.BigtableByteString.html), so the ranges can\nbe specified using strings as well and their UTF-8 representations will be used for the qualifier."]]