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 Details

  • Constructor Details

    • RVMongoDBDataSource

      public RVMongoDBDataSource()
  • Method Details

    • getConnectionString

      public String getConnectionString()
      Connection string for connecting to the MongoDB host.
      Returns:
      Connection string for connecting to the MongoDB host.
    • setConnectionString

      public void setConnectionString(String connectionString)
      Connection string for connecting to the MongoDB host.
      Parameters:
      connectionString - Connection string for connecting to the MongoDB host.
    • getDatabase

      public String 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

      public void setDatabase(String database)
      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, unless getProcessDataOnServerReadOnly() is true.
      Specified by:
      getProcessDataOnServerDefaultValue in interface IProcessDataOnServerDataSource
      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() is true.
    • 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, unless getProcessDataOnServerReadOnly() is true.
      Specified by:
      setProcessDataOnServerDefaultValue in interface IProcessDataOnServerDataSource
      Parameters:
      processDataOnServerDefaultValue - The default value for the "Process Data on Server" option.
    • getProcessDataOnServerReadOnly

      public boolean getProcessDataOnServerReadOnly()
      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.
      Specified by:
      getProcessDataOnServerReadOnly in interface IProcessDataOnServerDataSource
      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)
      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.
      Specified by:
      setProcessDataOnServerReadOnly in interface IProcessDataOnServerDataSource
      Parameters:
      processDataOnServerReadOnly - 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.
    • getProviderKey

      public String getProviderKey()
      Specified by:
      getProviderKey in class RVDashboardDataSource