admin.h

Two additional APIs that are defined in this header file have been implemented.

/**  
* Adds a column family to an HBase table.
* @returns 0 on success, an error code otherwise.
*/
HBASE_API int32_t
hb_admin_table_add_column_family(
      const hb_admin_t admin,      /* [in] HBaseClient handle */
      const char *name_space,      /* [in] Null terminated namespace, set to NULL
                                    *   for default namespace and for 0.94 version */
      const char *table_name,      /* [in] Null terminated table name */
      const hb_columndesc family); /* [in] New family column descriptor */
 
/**
* Modifies a column family of an HBase table.
* @returns 0 on success, an error code otherwise.
*/
HBASE_API int32_t
hb_admin_table_modify_column_family(
      const hb_admin_t admin,      /* [in] HBaseClient handle */
      const char *name_space,      /* [in] Null terminated namespace, set to NULL
                                    *   for default namespace and for 0.94 version */
      const char *table_name,      /* [in] Null terminated table name */
      const hb_columndesc family); /* [in] New family column descriptor */