PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of hbReading variables
  • WLanguage functions that use the hbReading type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
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.
Note: See Declaring a variable for more details.
Example
// 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
Remarks

Properties specific to the description of 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.
StartTimestampDateTimeMinimum date of versions to read (optional). If this property is specified, ..EndTimestamp must also be specified. The data whose date is greater than or equal to this date will be read.
EndTimestampDateTimeMaxmum date of versions to read (optional). The data whose date is less than or equal to this date will be read.
RowBufferIdentifier of the row (record).
VersionIntegerMinimum number of versions to read (optional).

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

WLanguage functions that use the hbReading type

Versions 21 and later
hbRead
New in version 21
hbRead
hbRead
Reads the cells (values of items) of a row (record) in a HBase table.
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment