Client
This document introduces the initialization and usage of ClickZettaClient. ClickZettaClient is a client used to record Lakehouse connection information and can be used to create RowStream and create JDBC connections.
ClickZettaClient Initialization
ClickZettaClient supports connection via JDBC URL or parameters. Below are examples of the two initialization methods:
Connect Client via JDBC URL
Connect Client via Parameters
Parameter | Required | Description |
---|---|---|
username | Y | Username |
password | Y | Password |
service | Y | Address to connect to the lakehouse, region.api.singdata.com. You can see the JDBC connection string in Lakehouse Studio Management -> Workspace ![]() |
instance | Y | Can be seen in Lakehouse Studio management -> workspace to view the JDBC connection string ![]() |
workspace | Y | Workspace in use |
vcluster | Y | VC in use |
schema | Y | Name of the schema being accessed |
Close Client Connection
After using the client, be sure to explicitly call the close()
method to release resources.