|
|
|
|
|
- Properties specific to the description of hbScanResult variables
hbResultScan (Type of variable) In french: hbRésultatScan
The hbScanResult type is used to get the result of an iteration performed in an HBase table. The characteristics of this result are returned 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" // 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"": """ + ... Encode("Title", encodeBASE64) + """ }" // Loops through and displays the filtered data // MyResult is an hbScanResult variable 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 iteration performed in an HBase table: | | | Property name | Type used | Effect |
---|
Column | hbColumn variable | Column (item) in an HBase table. This property is read-only. | Row | Buffer | Identifier of the row (record). This property is read-only. | Timestamp | DateTime | Timestamp of the cell. This property is read-only. | Value | Buffer | Value of the cell (item). This property is read-only. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|