PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of hbScanResult variables
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
hbResultScan (Type of variable)
In French: hbRésultatScan
The hbScanResult type is used to find out the result of a browse performed in a HBase table. The characteristics of this result are returned by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
// Connection
Connection is hbConnection
Connection..Server = "MyServer"
// Filter description
MyScan is hbScanParameter
MyScan..Connection = Connection
MyScan..Table = "blog"
// Filters, for all the rows, the values of columns whose name starts with "Title"
MyScan..Filter = "{ ""type"": ""ColumnPrefixFilter"", ""value"": """ + ...
Crypt("Title", "", compressNone + cryptNone, encodeBASE64) + """ }"
// Browse the filter and display the filtered data
// The type of the browse variable MyResult is hbScanResult
FOR EACH MyResult OF MyScan
Trace("The column " + MyResult..Column..Family + ":" + ...
MyResult..Column..Qualifier + ...
" of the row " + MyResult..Row + " is set to " + MyResult..Value)
END
Remarks

Properties specific to the description of hbScanResult variables

The following properties can be used to handle the result of the browse performed in a HBase table:
Property nameType usedEffect
ColumnhbColumn variableColumn (item) in a HBase table.
This property is available in read-only.
RowBufferIdentifier of the row (record).
This property is available in read-only.
TimestampDateTimeTimestamp of the cell.
This property is available in read-only.
ValueBufferValue of the cell (item).
This property is available in read-only.
Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment