Class RowSet (2.4.0)

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

Specifies a non-contiguous set of rows.

Inheritance

Object > RowSet

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

RowSet()

public RowSet()

RowSet(RowSet)

public RowSet(RowSet other)
Parameter
NameDescription
otherRowSet

Properties

RowKeys

public RepeatedField<ByteString> RowKeys { get; }

Single rows included in the set.

Property Value
TypeDescription
RepeatedField<ByteString>

RowRanges

public RepeatedField<RowRange> RowRanges { get; }

Contiguous row ranges included in the set.

Property Value
TypeDescription
RepeatedField<RowRange>

Methods

FromRowKey(BigtableByteString)

public static RowSet FromRowKey(BigtableByteString rowKey)

Creates a RowSet instance from a single row key.

Parameter
NameDescription
rowKeyBigtableByteString

The key of row included in the set.

Returns
TypeDescription
RowSet

The created set.

FromRowKeys(BigtableByteString[])

public static RowSet FromRowKeys(params BigtableByteString[] rowKeys)

Creates a RowSet instance from individual row keys.

Parameter
NameDescription
rowKeysBigtableByteString[]

The keys of single rows included in the set. Must not be null.

Returns
TypeDescription
RowSet

The created set.

FromRowKeys(IEnumerable<BigtableByteString>)

public static RowSet FromRowKeys(IEnumerable<BigtableByteString> rowKeys)

Creates a RowSet instance from individual row keys.

Parameter
NameDescription
rowKeysIEnumerable<BigtableByteString>

The keys of single rows included in the set. Must not be null.

Returns
TypeDescription
RowSet

The created set.

FromRowRanges(RowRange[])

public static RowSet FromRowRanges(params RowRange[] rowRanges)

Creates a RowSet instance from contiguous row ranges.

Parameter
NameDescription
rowRangesRowRange[]

Contiguous row ranges included in the set. Must not be null or contain null entries.

Returns
TypeDescription
RowSet

The created set.

FromRowRanges(IEnumerable<RowRange>)

public static RowSet FromRowRanges(IEnumerable<RowRange> rowRanges)

Creates a RowSet instance from contiguous row ranges.

Parameter
NameDescription
rowRangesIEnumerable<RowRange>

Contiguous row ranges included in the set. Must not be null or contain null entries.

Returns
TypeDescription
RowSet

The created set.