Package io.revealbi.core.data
Class RVSQLiteDataSource
java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVSqlBasedDataSource
io.revealbi.core.data.RVSqlPDSDataSource
io.revealbi.core.data.RVSQLiteDataSource
- All Implemented Interfaces:
IProcessDataOnServerDataSource
SQLite data source.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPath of the SQLite database file.Disables automatic date type inference for SQLite columns.voidsetDatabase(String database) Path of the SQLite database file.voidsetDisableDateTypeInference(Boolean disableDateTypeInference) Disables automatic date type inference for SQLite columns.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
-
RVSQLiteDataSource
public RVSQLiteDataSource()
-
-
Method Details
-
getDatabase
Path of the SQLite database file. Accepts both absolute paths and relative paths.- Returns:
- the path of the SQLite database file
-
setDatabase
Path of the SQLite database file. Accepts both absolute paths and relative paths.- Parameters:
database- the path of the SQLite database file
-
getDisableDateTypeInference
Disables automatic date type inference for SQLite columns. When set to true, columns that would normally be promoted to date/datetime types (both ISO string patterns and Unix epoch seconds) will remain as their raw types (String or Number). Defaults tonull, which leaves inference enabled.- Returns:
- whether date type inference is disabled
-
setDisableDateTypeInference
Disables automatic date type inference for SQLite columns. When set to true, columns that would normally be promoted to date/datetime types (both ISO string patterns and Unix epoch seconds) will remain as their raw types (String or Number). Defaults tonull, which leaves inference enabled.- Parameters:
disableDateTypeInference- whether date type inference is disabled
-
getProviderKey
- Specified by:
getProviderKeyin classRVDashboardDataSource
-