The
hbCell type is used to define the advanced characteristics of the content of a cell (item value) in an HBase table. The characteristics of this content can be defined and changed using different WLanguage properties.
This type of variable is used by:
- the hbRead function: the result of hbRead is an array of hbCell.
- variables of type hbWriting, to specify the values to be written.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see
Declaring a variable.
// Connection
Connection is hbConnection
Connection.Server = "MyServer"
// Description of data to write
Writing is hbWriting
Writing.Row = "post1"
Cell is hbCell
Cell.Column.Family = "post"
Cell.Column.Qualifier = "title"
Cell.Value = "This is my blog post."
Add(Writing.Cell, Cell)
// Write data
hbWrite(Connection, "blog", Writing)
Remarks
Properties specific to the description of hbCell variables
The following properties can be used to handle a cell content:
| | |
Property name | Type used | Effect |
---|
Column | hbColumn variable | Column associated with the cell. |
Timestamp | DateTime | Timestamp of the value read. |
Value | Buffer | Content of the cell. |