Class RVMongoDBDataSourceItem

java.lang.Object
io.revealbi.core.data.RVDataSourceItem
io.revealbi.core.data.RVMongoDBDataSourceItem
All Implemented Interfaces:
IProcessDataOnServerDataSourceItem

public class RVMongoDBDataSourceItem extends RVDataSourceItem implements IProcessDataOnServerDataSourceItem
Data source item for MongoDB. Represents a specific collection within a MongoDB database.
  • Constructor Details

  • Method Details

    • getCollection

      public String getCollection()
      Gets or sets the name of the collection.
      Returns:
    • setCollection

      public void setCollection(String collection)
      Gets or sets the name of the collection.
      Parameters:
      collection -
    • getCustomQuery

      public String getCustomQuery()
      (Optional) Custom MongoDB query to use when getting data
      Returns:
    • setCustomQuery

      public void setCustomQuery(String customQuery)
      (Optional) Custom MongoDB query to use when getting data
      Parameters:
      customQuery -
    • getProcessDataOnServer

      public boolean getProcessDataOnServer()
      Returns whether data processing is performed on the Reveal server.
      Specified by:
      getProcessDataOnServer in interface IProcessDataOnServerDataSourceItem
      Returns:
      true if data is processed on the server; false to process in the client.
    • setProcessDataOnServer

      public void setProcessDataOnServer(boolean processDataOnServer)
      Sets whether data processing is performed on the Reveal server.
      Specified by:
      setProcessDataOnServer in interface IProcessDataOnServerDataSourceItem
      Parameters:
      processDataOnServer - true to process data on the server; false to process in the client.