Bases: object
Connection instance.
Parameters: |
|
---|
Storage cluster satus. Returns detailed status on the HBase cluster backing the Stargate instance.
Parameters: | fail_silently (bool) – |
---|---|
Return dict: | Dictionary with information on dead nodes, live nodes, average load, regions, etc. |
Storage cluster version. Returns version information regarding the HBase cluster backing the Stargate instance.
Parameters: | fail_silently (bool) – |
---|---|
Return str: | HBase version. |
Creates the table and returns the instance created. If table already exists, returns None.
Parameters: |
|
---|---|
Return starbase.client.table.Table: | |
Drops the table.
Parameters: | name (str) – Table name. |
---|---|
Return int: | Status code. |
Initializes a table instance to work with.
Parameters: | name (str) – Table name. Example value ‘test’. |
---|---|
Return stargate.base.Table: | |
This method does not check if table exists. Use the following methods to perform the check:
- starbase.client.Connection.table_exists or
- starbase.client.table.Table.exists.
Checks if table exists.
Parameters: |
|
---|---|
Return bool: |
Builds JSON data for read-write purposes. Used in starbase.client.Table._build_table_data.
Parameters: |
|
---|---|
Return dict: |