Writes cells (values of items) to one or more rows (records) in an HBase table.
// 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)
Syntax
<Result> = hbWrite(<Connection> , <HBase Table> , <Data to write>)
<Result>: Boolean
- True if data was written,
- False if a problem occurs. ErrorInfo is used to identify the error.
<Connection>: hbConnection variable
Name of the hbConnection variable that corresponds to the connection to the HBase server.
<HBase Table>: Character string
Name of the HBase table to use.
<Data to write>: hbWriting variable
Name of the hbWriting variable that corresponds to the description of the write operation.
Business / UI classification: Business Logic