Creates an HBase table or modifies the description of an HBase table.
// Connection
Connection is hbConnection
Connection.Server = "MyServer"
// Describe the table
TableDesc is hbTableDescription
TableDesc.Name = "blog"
// Describe the "Post" column
ColDesc is hbColumnDescription
ColDesc.Name = "Post"
Add(TableDesc.Column, ColDesc)
// Create the table
hbCreateTable(Connection, TableDesc)
Syntax
<Result> = hbCreateTable(<Connection> , <Description>)
<Result>: Boolean
- True if the operation was performed,
- False if a problem occurs. ErrorInfo is used to identify the error.
<Connection>: hbConnection variable
Name of the hbConnection variable that corresponds to the connection to the HBase server.
<Description>: hbTableDescription variable
Name of hbTableDescription variable corresponding to the table description.