|
|
|
|
|
hbGetTableDescription (Function) In french: hbRécupèreDescriptionTable Retrieves the description of an HBase table. // 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
Syntax
<Result> = hbGetTableDescription(<Connection> , <Table>)
<Result>: hbTableDescription variable hbTableDescription variable corresponding to the description of the table. <Connection>: hbConnection variable hbConnection variable corresponding to the connection to the HBase server. <Table>: Character string Name of the HBase table to use.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|