Specifies possible cell flag values.

Namespace: Hypertable
Assembly: ht4n (in ht4n.dll) Version: 0.9.8.11 (0.9.8.11)

Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public enum CellFlag
<SerializableAttribute> _
Public Enumeration CellFlag
[SerializableAttribute]
public enum class CellFlag

Members

MemberValueDescription
Default255
Default cell flag.
DeleteRow0
Deletes all cells in a particular row.
DeleteColumnFamily1
Deletes all cells in a particular row/column family.
DeleteCell2
Deletes a particular cell.
DeleteCellVersion3
Deletes a particular cell version.

Remarks

The delete flags are used by the table mutator.

Examples

The following example shows how to delete two rows from a table using the cell flags.
CopyC#
IList<Cell> cells = new List<Cell>();
cells.Add( new Cell(new Key("A"), CellFlag.DeleteRow) );
cells.Add( new Cell(new Key("B"), CellFlag.DeleteRow) );
using( var mutator = table.CreateMutator() ) {
   mutator.Set(cells);
}

See Also