PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Reads the cells (values of items) of a row (record) in a HBase table.
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
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 hbConnection variable corresponding to the connection to the HBase server.
<Table>: Character string (with quotes)
Name of the HBase table to use.
<Reading>: hbReading variable
Name of the hbReading variable containing the characteristics of the read operation to perform.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230big.dll
Linux wd230big.so
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment