Resource Management
hdxcli v1.0.83
Project⚓︎
Provides commands to create, list, show, delete, and migrate projects. It also includes tools for managing project settings and viewing activity logs.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
Activity⚓︎
Shows the log of recent activities for the provided project.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Create⚓︎
Creates a new, empty project in your Hydrolix cluster.
Usage
Examples
Delete⚓︎
Delete a specific project.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete project. |
Examples
List⚓︎
List all available projects.
Retrieves a list of all projects you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Migrate⚓︎
Migrate a project and its associated resources.
This command migrates a project from the source profile to a specified target profile or cluster. By default, all associated resources are also migrated (for example, tables and their transforms). Authentication for the target cluster can be provided through a separate profile using --target-profile or by specifying credentials directly.
Options allow for customizing the migration:
- --dictionaries: Include associated dictionaries.
- --functions: Include associated functions.
- --only: Migrate only the project, skipping all dependencies.
By default, any failure during the process will trigger a rollback of the changes made. Use the --no-rollback flag to disable this behavior.
Usage
Options
| Option | Description |
|---|---|
-s, --target-cluster-uri-scheme TEXT |
Protocol to use (http or https). Defaults to 'https'. |
-p, --target-cluster-password TEXT |
Password for the target cluster user. |
-u, --target-cluster-username TEXT |
Username to authenticate to the target cluster. |
-h, --target-cluster-hostname TEXT |
Hostname of the target cluster. |
-tp, --target-profile TEXT |
Name of an existing profile to connect to the target host. |
--no-rollback |
Disable rollback behavior in case of errors. |
-O, --only |
Migrate only the project, skipping dependencies. |
-D, --dictionaries |
Migrate dictionaries associated with the project. |
-F, --functions |
Migrate functions associated with the project. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific project.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific project.
Retrieves and displays the settings of a single project. If no name is provided, the default project will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Stats⚓︎
Shows usage and other statistics for the provided project.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Table⚓︎
This group of commands allows to create, list, show, delete, truncate, and migrate tables. A project context is required for all operations.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
Activity⚓︎
Shows the log of recent activities for the provided table.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Create⚓︎
Create a new table.
Creates a standard (turbine) or a summary table. For summary tables, an SQL query must be provided via --sql-query or --sql-query-file.
Usage
Options
| Option | Description |
|---|---|
-t, --type [turbine\|summary] |
Specify the table type. Default: turbine. |
-s, --sql-query TEXT |
SQL query for 'summary' tables. |
-f, --sql-query-file PATH |
Path to a file with the SQL query for 'summary' table. |
-S, --settings-file PATH |
Path to a JSON file with additional table settings. |
Examples
Delete⚓︎
Delete a specific table.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete table. |
Examples
List⚓︎
List all available tables.
Retrieves a list of all tables you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Migrate⚓︎
Migrate a table and its transforms to a different project.
Migrates a table from a source context (current profile) to a target project, which can be in the same or a different cluster. All associated transforms are also migrated or use the --only flag to migrate only the table and skip its transforms. Authentication for the target cluster can be provided through a separate profile using --target-profile or by specifying credentials directly.
By default, any failure during the process will trigger a rollback of the changes made. Use the --no-rollback flag to disable this behavior.
Usage
Options
| Option | Description |
|---|---|
-s, --target-cluster-uri-scheme TEXT |
Protocol to use (http or https). Defaults to 'https'. |
-p, --target-cluster-password TEXT |
Password for the target cluster user. |
-u, --target-cluster-username TEXT |
Username to authenticate to the target cluster. |
-h, --target-cluster-hostname TEXT |
Hostname of the target cluster. |
-tp, --target-profile TEXT |
Name of an existing profile to connect to the target host. |
--no-rollback |
Disable rollback behavior in case of errors. |
-O, --only |
Migrate only the table, skipping its associated transforms. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific table.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific table.
Retrieves and displays the settings of a single table. If no name is provided, the default table will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Stats⚓︎
Shows usage and other statistics for the provided table.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Truncate⚓︎
Remove all data from a table.
This action permanently deletes all rows from the table but preserves the resource and its settings. This operation cannot be undone.
Usage
Options
| Option | Description |
|---|---|
--yes |
Bypass the confirmation prompt. |
Examples
Dictionary⚓︎
This group of commands allows creating, listing, showing, deleting, and migrating dictionaries. A project context is required for all operations.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--dictionary DICTIONARY_NAME |
Perform operation on the passed dictionary. |
Create⚓︎
Create a new dictionary definition.
This command creates a dictionary by combining a settings file with the name of a data file that has been previously uploaded.
Arguments:
- SETTINGS_FILE_PATH: Path to a JSON file with dictionary settings.
- DICT_FILE_NAME: The name of the data file already uploaded via files upload.
- DICTIONARY_NAME: The name for the new dictionary.
Usage
Examples
Delete⚓︎
Delete a specific dictionary.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete dictionary. |
Examples
List⚓︎
List all available dictionaries.
Retrieves a list of all dictionaries you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Migrate⚓︎
Migrate a dictionary to a different project.
Migrates a dictionary from a source context (in the current profile) to a target project, which can be in the same or a different cluster. Authentication for the target cluster can be provided through a separate profile using --target-profile or by specifying credentials directly.
By default, any failure during the process will trigger a rollback of the changes made. Use the --no-rollback flag to disable this behavior.
Usage
Options
| Option | Description |
|---|---|
-s, --target-cluster-uri-scheme TEXT |
Protocol to use (http or https). Defaults to 'https'. |
-p, --target-cluster-password TEXT |
Password for the target cluster user. |
-u, --target-cluster-username TEXT |
Username to authenticate to the target cluster. |
-h, --target-cluster-hostname TEXT |
Hostname of the target cluster. |
-tp, --target-profile TEXT |
Name of an existing profile to connect to the target host. |
--no-rollback |
Disable rollback behavior in case of errors. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific dictionary.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific dictionary.
Retrieves and displays the settings of a single dictionary. If no name is provided, the default dictionary will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Files⚓︎
Manage dictionary data files.
Usage
Files Delete⚓︎
Delete a dictionary data file.
Usage
Examples
Download⚓︎
Download a dictionary data file to your local machine. This command retrieves a dictionary file and saves it to a specified path, or the current directory by default.
Usage
Options
| Option | Description |
|---|---|
-o, --output FILE |
Path to save the file, including the new filename. If not provided, saves to the current directory with the original name. |
Examples
List⚓︎
List all available files.
Retrieves a list of all files you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Files Upload⚓︎
Upload a dictionary data file.
Usage
Options
| Option | Description |
|---|---|
-t, --body-from-file-type [json\|verbatim] |
How to interpret the body from the file. Defaults to 'json'. |
Examples
Function⚓︎
This group of commands allows creating, listing, showing, deleting, and migrating functions. A project context is required for all operations.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--function FUNCTION_NAME |
Perform operation on the passed function. |
Create⚓︎
A function can be created either from an inline SQL string or from a JSON file containing the function definition.
Usage
Options
| Option | Description |
|---|---|
-f, --sql-from-file PATH |
Path to a JSON file with the function definition. |
-s, --inline-sql TEXT |
Use inline sql in the command-line |
Examples
Delete⚓︎
Delete a specific function.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete function. |
Examples
List⚓︎
List all available functions.
Retrieves a list of all functions you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Migrate⚓︎
Migrate a function to a different project.
Migrates a function from a source context (in the current profile) to a target project, which can be in the same or a different cluster. Authentication for the target cluster can be provided through a separate profile using --target-profile or by specifying credentials directly.
By default, any failure during the process will trigger a rollback of the changes made. Use the --no-rollback flag to disable this behavior.
Usage
Options
| Option | Description |
|---|---|
-s, --target-cluster-uri-scheme TEXT |
Protocol to use (http or https). Defaults to 'https'. |
-p, --target-cluster-password TEXT |
Password for the target cluster user. |
-u, --target-cluster-username TEXT |
Username to authenticate to the target cluster. |
-h, --target-cluster-hostname TEXT |
Hostname of the target cluster. |
-tp, --target-profile TEXT |
Name of an existing profile to connect to the target host. |
--no-rollback |
Disable rollback behavior in case of errors. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific function.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific function.
Retrieves and displays the settings of a single function. If no name is provided, the default function will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Transform⚓︎
This group of commands allows to create, list, show, delete, and migrate transforms. A project and table context is required for all operations.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
--transform TRANSFORM_NAME |
Explicitly pass the transform name. If none is given, the default transform for the table is used. |
Compare⚓︎
Compares two transforms, showing differences in their settings.
Transforms can be specified as a local JSON file path or as a reference to a transform on a cluster in the format: project_name.table_name.transform_name.
When comparing a transform on a different cluster, use --profile-b to specify the profile details for TRANSFORM_B.
Usage
Options
| Option | Description |
|---|---|
--profile-b PROFILE_NAME |
Profile for fetching TRANSFORM_B, if different from the default. |
Examples
Create⚓︎
Creates a new transform from a JSON configuration file in the specified project and table.
Usage
Options
| Option | Description |
|---|---|
-f, --body-from-file PATH |
Path to a JSON file with transform settings. [required] |
Examples
Delete⚓︎
Delete a specific transform.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete transform. |
Examples
List⚓︎
List all available transforms.
Retrieves a list of all transforms you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Migrate⚓︎
Migrate a transform to a different project and table.
Migrates a transform from a source context (in the current profile) to a target table, which can be in the same or a different cluster. Authentication for the target cluster can be provided through a separate profile using --target-profile or by specifying credentials directly.
By default, any failure during the process will trigger a rollback of the changes made. Use the --no-rollback flag to disable this behavior.
Usage
Options
| Option | Description |
|---|---|
-s, --target-cluster-uri-scheme TEXT |
Protocol to use (http or https). Defaults to 'https'. |
-p, --target-cluster-password TEXT |
Password for the target cluster user. |
-u, --target-cluster-username TEXT |
Username to authenticate to the target cluster. |
-h, --target-cluster-hostname TEXT |
Hostname of the target cluster. |
-tp, --target-profile TEXT |
Name of an existing profile to connect to the target host. |
--no-rollback |
Disable rollback behavior in case of errors. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific transform.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific transform.
Retrieves and displays the settings of a single transform. If no name is provided, the default transform will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
View⚓︎
This group of commands allows to create, list, show, delete, and manage settings for views. A project and table context is required for all operations.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Use or override project set in the profile. |
--table TABLE_NAME |
Use or override table set in the profile. |
--view VIEW_NAME |
Explicitly pass the view name. If none is given, the default view for the table is used. |
Create⚓︎
Creates a new view from a JSON configuration file in the specified project and table.
Usage
Options
| Option | Description |
|---|---|
-f, --body-from-file PATH |
Path to a JSON file with view settings. [required] |
Examples
Delete⚓︎
Delete a specific view.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete view. |
Examples
List⚓︎
List all available views.
Retrieves a list of all views you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Settings⚓︎
List, get, or set key-value settings for a specific view.
This command operates in three modes: - LIST: Invoked with no arguments, it lists all settings. - GET: Invoked with only a KEY, it retrieves the value of that setting. - SET: Invoked with a KEY and a VALUE, it sets the value for that setting.
The VALUE can be a string, a number, or a JSON-formatted string for lists/objects. When setting a value, the --force-operation option may be required for certain resource.
Usage
Options
| Option | Description |
|---|---|
-F, --force |
This flag allows adding the force_operation parameter to the request. |
Examples
Show⚓︎
Show details for a specific view.
Retrieves and displays the settings of a single view. If no name is provided, the default view will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples
Column⚓︎
Commands to manage table columns.
Provides commands to list all columns, show details for a specific one, or delete any existing alias column. It also includes specialized commands to create new alias columns from an expression (add-alias) and to add alternative names to existing columns (add-name).
A project and table context is required for all operations.
Usage
Options
| Option | Description |
|---|---|
--project PROJECT_NAME |
Target project for the column operation. |
--table TABLE_NAME |
Target table for the column operation. |
--column COLUMN_NAME |
Target column for the operation. |
Add Alias⚓︎
Creates a new column defined by an expression. Requires --project and --table options to be set.
Usage
Examples
Add Name⚓︎
Assigns an additional name to an existing column. Requires --project, --table, and --column options to be set.
Usage
Examples
Delete⚓︎
Delete a specific column.
This is a permanent action and cannot be undone. You will be prompted for confirmation unless --disable-confirmation-prompt is used.
Usage
Options
| Option | Description |
|---|---|
--disable-confirmation-prompt |
Suppress confirmation to delete column. |
Examples
List⚓︎
List all available columns.
Retrieves a list of all columns you have access to. Pagination options (--page, --page-size) are available if supported by the API.
Usage
Options
| Option | Description |
|---|---|
-p, --page INTEGER |
Page number. |
-s, --page-size INTEGER |
Number of items per page. |
Examples
Show⚓︎
Show details for a specific column.
Retrieves and displays the settings of a single column. If no name is provided, the default column will be used if exists.
Usage
Options
| Option | Description |
|---|---|
-i, --indent |
Indent the output. |
Examples