The
hbWriting type is used to define the characteristics of a write operation that will be performed in a row (record) of an HBase table. The characteristics of this write operation can be defined and changed using different WLanguage properties.
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 hbWriting variables
The following properties can be used to describe the write operation to perform:
| | |
Property name | Type used | Effect |
---|
Cell | Array of hbCell | Description of data to write. |
Row | Buffer | Identifier of the row. |
WLanguage functions that use the hbWriting type
| |
hbWrite | Writes cells (values of items) to one or more rows (records) in an HBase table. |