|
|
|
|
hbGetTableDescription( Función) Recupera la description de una HBase tabla. // 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
Sintaxis
<Result> = hbGetTableDescription(<Connection> , <Table>)
<Result>: hbTableDescription Variable variable hbTableDescription correspondiente a la descripción del tabla. <Connection>: hbConnection Variable hbConnection Variable correspondiente a la conexión con el servidor HBase. <Table>: Cadena de caracteres Nombre de la HBase tabla a utilizar.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|