|
|
|
|
|
- Properties specific to hbReading variables
- WLanguage functions that use the hbReading type
hbReading (Variable type) In french: hbLecture
The hbReading type is used to define the characteristics of a read operation. The characteristics of this read operation can be defined and modified using various WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
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
Properties Properties specific to hbReading variables The following properties can be used to describe the read operation to perform:
| | | Property name | Type used | Effect |
---|
Column | Array of hbColumn | Description of columns to read. If the array is empty, the entire row is read. | EndTimestamp | DateTime | Maxmum date of versions to read (optional). Data with a date earlier than or equal to this date will be read. | Row | Buffer | Identifier of the row (record). | StartTimestamp | DateTime | Minimum date of versions to read (optional). If this property is set, the DateTimeFin property must be set.. Data with a date later than or equal to this date will be read. | Version | Integer | Minimum number of versions to read (optional). |
Remarks WLanguage functions that use the hbReading type | | hbRead | Reads cells (values of items) of a row (record) in an HBase table. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|