Package io.revealbi.core.data
Class RVMongoDBDataSource
java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVMongoDBDataSource
- All Implemented Interfaces:
IProcessDataOnServerDataSource
public class RVMongoDBDataSource
extends RVDashboardDataSource
implements IProcessDataOnServerDataSource
MongoDB data source
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConnection string for connecting to the MongoDB host.Gets or sets the name of the database to connect to.booleanGets the default value for "Process Data on Server" option for this data source.booleanWhentrue, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.voidsetConnectionString(String connectionString) Connection string for connecting to the MongoDB host.voidsetDatabase(String database) Gets or sets the name of the database to connect to.voidsetProcessDataOnServerDefaultValue(boolean processDataOnServerDefaultValue) Sets the default value for the "Process Data on Server" option for this data source.voidsetProcessDataOnServerReadOnly(boolean processDataOnServerReadOnly) Whentrue, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.Methods inherited from class io.revealbi.core.data.RVDashboardDataSource
getDefaultRefreshRate, getId, getSubtitle, getTitle, setDefaultRefreshRate, setId, setSubtitle, setTitle
-
Field Details
-
PROVIDER_KEY
- See Also:
-
-
Constructor Details
-
RVMongoDBDataSource
public RVMongoDBDataSource()
-
-
Method Details
-
getConnectionString
Connection string for connecting to the MongoDB host.- Returns:
- Connection string for connecting to the MongoDB host.
-
setConnectionString
Connection string for connecting to the MongoDB host.- Parameters:
connectionString- Connection string for connecting to the MongoDB host.
-
getDatabase
Gets or sets the name of the database to connect to.- Returns:
- Gets or sets the name of the database to connect to.
-
setDatabase
Gets or sets the name of the database to connect to.- Parameters:
database- Gets or sets the name of the database to connect to.
-
getProcessDataOnServerDefaultValue
public boolean getProcessDataOnServerDefaultValue()Gets the default value for "Process Data on Server" option for this data source. The end user can still change the value, unlessgetProcessDataOnServerReadOnly()istrue.- Specified by:
getProcessDataOnServerDefaultValuein interfaceIProcessDataOnServerDataSource- Returns:
- Gets the default value for "Process Data on Server" option for this data source. The end user can still change the value, unless
getProcessDataOnServerReadOnly()istrue.
-
setProcessDataOnServerDefaultValue
public void setProcessDataOnServerDefaultValue(boolean processDataOnServerDefaultValue) Sets the default value for the "Process Data on Server" option for this data source. The end user can still change the value, unlessgetProcessDataOnServerReadOnly()istrue.- Specified by:
setProcessDataOnServerDefaultValuein interfaceIProcessDataOnServerDataSource- Parameters:
processDataOnServerDefaultValue- The default value for the "Process Data on Server" option.
-
getProcessDataOnServerReadOnly
public boolean getProcessDataOnServerReadOnly()Whentrue, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.- Specified by:
getProcessDataOnServerReadOnlyin interfaceIProcessDataOnServerDataSource- Returns:
- When
true, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.
-
setProcessDataOnServerReadOnly
public void setProcessDataOnServerReadOnly(boolean processDataOnServerReadOnly) Whentrue, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.- Specified by:
setProcessDataOnServerReadOnlyin interfaceIProcessDataOnServerDataSource- Parameters:
processDataOnServerReadOnly- Whentrue, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.
-
getProviderKey
- Specified by:
getProviderKeyin classRVDashboardDataSource
-