To start interacting with the Hive, click the Data icon in the main vertical icon bar on the left, and then click the Hive icon.
The Hive interface is divided into 3 main sections:
1. List of hives - the List of hives includes the names of all hive storages.
2. Data Browser for the selected hive - the browser contains various data-structures where the actual hive data is stored.
3. Management panel - provides a few basic functions to manage hive storages:
- Create a hive - The + icon.
- Delete a hive - The Recycle Bin icon.
- Rename a hive - The Gear icon.
- Refresh all hives - The Refresh icon.
The Data Browser provides detailed information on all available stores, and also their contents, such as keys and values.
Creating a Hive¶
To create a new Hive, navigate to Data -> Hive and click the '+' icon in the toolbar.
Enter a hive name and click the Submit button to save.
Adding Data to Hive¶
A hive contains five different data type buckets, also referred to as stores. Each bucket contains data of your application in the key-value pairs, where the structure of the value is determined by the bucket's data type.
For consistency in the documentation all further references of "store" or "data store" identify the same concept as "Hive bucket".
To create a new store in a Hive, select the Hive in the list and then click the Create button in the Data Browser.
The form to add data varies depending on the data type. For example, for the key-value data type, you need to enter the key name and value as shown below:
When creating a list, every single element must be added separately by clicking the + icon.
When creating a map, keep in mind that this data structure contains key-value pairs, where keys are always strings and values can be of any valid JSON data type. To add multiple values to the map click the '+' icon.
If you create a set, then new values should be added separately by clicking the + icon. The system treats the contents of one field as a single value. All values should be unique.
The sorted-set inherits the same behavior as an ordinary set, except it has a score that determines the order of unique items within this data structure. By clicking the + icon you add a new item to the sorted-set.
Click the SAVE button to create a new record.
Once a store is created, it is displayed as a separate entity within an expandable menu. Click the arrow icon of a specific store, then you can see its contents.
Deleting Data from Hive¶
To delete a record from a store, select the store and click the checkbox for the entry to be deleted. Click the Delete button and confirm your action:
To edit a record, click the edit icon located on the very right of every record row: