|
|
|
|
|
hbRead (Function) In french: hbLit Reads cells (values of items) of a row (record) in an HBase table.
Connexion is hbConnection
Connexion.Serveur = "MonServeur"
Lecture is hbReading
Lecture.Ligne = "post1"
Lecture.Version = 2
Col is hbColumn
Col.Famille = "Post"
Add(Lecture.Colonne, Col)
MonRésultat is array of hbCell = hbRead(connection, "blog", Lecture)
FOR EACH Cellule OF MonRésultat DO
Trace("Colonne : " + Cellule.Colonne.Qualificatif + "; Valeur : " + ...
Cellule.Valeur + "; timestamp : " + Cellule.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 the hbReading variable containing the characteristics of the read operation to perform.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|