ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / Managing HBase databases
  • Properties specific to hbTableDescription variables
  • WLanguage functions that use the hbTableDescription type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The hbTableDescription type is used to define and find out the characteristics of an HBase table. The characteristics of this HBase table can be defined and changed using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connection
Connection is hbConnection
Connection.Server = "MyServer"
// Retrieve the description of the table
TableDesc is hbTableDescription = hbGetTableDescription(Connection, "blog")
// Display the name of the table
Trace("table: " + TableDesc.Name)
// Display the description of columns
FOR EACH ColDesc OF TableDesc.Column
Trace(TAB + "column: " + ColDesc.Name)
Trace(TAB + TAB + "attribute: ")
FOR EACH AttributeVal, AttributeName of ColDesc.Attribute
Trace(TAB + TAB + AttributeName + " = " + AttributeVal)
END
END
Remarks

Properties specific to hbTableDescription variables

The following properties can be used to handle an HBase table:
Property nameType usedEffect
AttributeArray of Character stringsAssociative array containing the names of attributes and the values of each attribute. These names and values are specific to HBase and they are reserved for an advanced use.
See the HBase documentation for more details.
ColumnArray of hbColumnDescriptionDescription of columns.
NameCharacter stringName of HBase table.

WLanguage functions that use the hbTableDescription type

hbCreateTableCreates an HBase table or modifies the description of an HBase table.
hbGetTableDescriptionRetrieves the description of an HBase table.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help