Package io.revealbi.core.data
Class RVClickHouseDataSource
java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVSqlBasedDataSource
io.revealbi.core.data.RVSqlPDSDataSource
io.revealbi.core.data.RVClickHouseDataSource
- All Implemented Interfaces:
IProcessDataOnServerDataSource
ClickHouse data source.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionName of the database to connect to.getPath()(Optional) The URL path appended after the host and port.(Optional) The protocol used to connect to ClickHouse (e.g.(Optional) When true, skips server certificate validation for TLS connections.(Optional) Connection timeout in seconds.voidsetDatabase(String database) Name of the database to connect to.void(Optional) The URL path appended after the host and port.voidsetProtocol(String protocol) (Optional) The protocol used to connect to ClickHouse (e.g.voidsetSkipServerCertificateValidation(Boolean skipServerCertificateValidation) (Optional) When true, skips server certificate validation for TLS connections.voidsetTimeout(Integer timeout) (Optional) Connection timeout in seconds.Methods inherited from class io.revealbi.core.data.RVSqlPDSDataSource
getProcessDataOnServerDefaultValue, getProcessDataOnServerReadOnly, setProcessDataOnServerDefaultValue, setProcessDataOnServerReadOnlyMethods inherited from class io.revealbi.core.data.RVSqlBasedDataSource
getHost, getPort, setHost, setPortMethods inherited from class io.revealbi.core.data.RVDashboardDataSource
getDefaultRefreshRate, getId, getSubtitle, getTitle, setDefaultRefreshRate, setId, setSubtitle, setTitle
-
Field Details
-
PROVIDER_KEY
- See Also:
-
-
Constructor Details
-
RVClickHouseDataSource
public RVClickHouseDataSource()
-
-
Method Details
-
getDatabase
Name of the database to connect to.- Returns:
- the name of the database to connect to
-
setDatabase
Name of the database to connect to.- Parameters:
database- the name of the database to connect to
-
getProtocol
(Optional) The protocol used to connect to ClickHouse (e.g. "http", "https").- Returns:
- the protocol used to connect to ClickHouse
-
setProtocol
(Optional) The protocol used to connect to ClickHouse (e.g. "http", "https").- Parameters:
protocol- the protocol used to connect to ClickHouse
-
getPath
(Optional) The URL path appended after the host and port.- Returns:
- the URL path appended after the host and port
-
setPath
(Optional) The URL path appended after the host and port.- Parameters:
path- the URL path appended after the host and port
-
getTimeout
(Optional) Connection timeout in seconds.- Returns:
- the connection timeout in seconds
-
setTimeout
(Optional) Connection timeout in seconds.- Parameters:
timeout- the connection timeout in seconds
-
getSkipServerCertificateValidation
(Optional) When true, skips server certificate validation for TLS connections.- Returns:
- true when server certificate validation is skipped for TLS connections
-
setSkipServerCertificateValidation
(Optional) When true, skips server certificate validation for TLS connections.- Parameters:
skipServerCertificateValidation- true to skip server certificate validation for TLS connections
-
getProviderKey
- Specified by:
getProviderKeyin classRVDashboardDataSource
-