|
|
|
|
hbRead (Function) In french: hbLit Reads cells (values of items) of a row (record) in an HBase table.
// Connection Connection is hbConnection Connection.Server = "MyServer" // Description of data to read Reading is hbReading Reading.Row = "post1" Reading.Version = 2 // Column description Col is hbColumn Col.Family = "Post" Add(Reading.Column, Col) // Read data MyResult is array of hbCells = hbRead(Connection, "blog", Reading) // Display the data read FOR EACH Cell OF MyResult DO Trace("Column: " + Cell.Column.Qualifier + "; Value: " + ... Cell.Value + "; timestamp: " + Cell.Timestamp) END
Syntax
<Result> = hbRead(<Connection> , <Table> , <Reading>)
<Result>: Array of hbCell Array of hbCell variables corresponding to the values of cells read. <Connection>: hbConnection variable Name of the hbConnection variable that corresponds to the connection to the HBase server. <Table>: Character string Name of the HBase table to use. <Reading>: hbReading variable Name of hbReading variable containing the characteristics of the read operation to perform.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|