Help / WLanguage / Managing databases / Big Data / Managing HBase databases
  • Properties specific to hbReading variables
  • WLanguage functions that use the hbReading type
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
hbReading (Type of variable)
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 by several 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 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)

Properties specific to hbReading variables

The following properties can be used to describe the read operation to perform:
Property nameType usedEffect
ColumnArray of hbColumnDescription of columns to read. If the array is empty, the entire row is read.
EndTimestampDateTimeMaxmum date of versions to read (optional). Data with a date earlier than or equal to this date will be read.
RowBufferIdentifier of the row (record).
StartTimestampDateTimeMinimum date of versions to read (optional). If this property is specified, the EndTimestamp property must also be specified. Data with a date later than or equal to this date will be read.
VersionIntegerMinimum number of versions to read (optional).

WLanguage functions that use the hbReading type

hbReadReads cells (values of items) of a row (record) in an HBase table.
Minimum version required
  • Version 21
This page is also available for…
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help