ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / Managing HBase databases
  • Properties specific to hbColumn variables
  • WLanguage functions that use the hbColumn type
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The hbColumn type is used to define the advanced characteristics of a column (item) in an HBase table. You can define and change the characteristics of this column using different WLanguage properties.
This type of variable is used by the hbReading, hbScanParameter and hbScanResult variables.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion
Connexion is hbConnection
Connexion.Serveur = "MonServeur"
// Description des données à lire
Lecture is hbReading
Lecture.Ligne = "post1"
Lecture.Version = 2
// Description colonne
Col is hbColumn
Col.Famille = "Post"
Add(Lecture.Colonne, Col)
// Lecture des données
MonRésultat is array of hbCell = hbRead(connection, "blog", Lecture)
// Affichage des données lues
FOR EACH Cellule OF MonRésultat DO
	Trace("Colonne : " + Cellule.Colonne.Qualificatif + "; Valeur : " + ...
	Cellule.Valeur + "; timestamp : " + Cellule.Timestamp)
END
Properties

Properties specific to hbColumn variables

The following properties can be used to handle a column:
Property nameType usedEffect
FamilyBufferName of the group of columns.
QualifierBufferQualifier of the column.
Remarks

WLanguage functions that use the hbColumn type

hbDeleteDeletes:
  • one or more cells from an HBase table for one or more columns.
  • a row from an HBase table.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/19/2024

Send a report | Local help