Class MongoDbCollectionDataset


  • public class MongoDbCollectionDataset
    extends Dataset
    The MongoDB database dataset.
    • Constructor Detail

      • MongoDbCollectionDataset

        public MongoDbCollectionDataset()
    • Method Detail

      • getCollectionName

        public Object getCollectionName()
        Get the collectionName property: The table name of the MongoDB database. Type: string (or Expression with resultType string).
        Returns:
        the collectionName value.
      • setCollectionName

        public MongoDbCollectionDataset setCollectionName​(Object collectionName)
        Set the collectionName property: The table name of the MongoDB database. Type: string (or Expression with resultType string).
        Parameters:
        collectionName - the collectionName value to set.
        Returns:
        the MongoDbCollectionDataset object itself.
      • setDescription

        public MongoDbCollectionDataset setDescription​(String description)
        Set the description property: Dataset description.
        Overrides:
        setDescription in class Dataset
        Parameters:
        description - the description value to set.
        Returns:
        the Dataset object itself.
      • setStructure

        public MongoDbCollectionDataset setStructure​(Object structure)
        Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
        Overrides:
        setStructure in class Dataset
        Parameters:
        structure - the structure value to set.
        Returns:
        the Dataset object itself.
      • setSchema

        public MongoDbCollectionDataset setSchema​(Object schema)
        Set the schema property: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
        Overrides:
        setSchema in class Dataset
        Parameters:
        schema - the schema value to set.
        Returns:
        the Dataset object itself.
      • setAnnotations

        public MongoDbCollectionDataset setAnnotations​(List<Object> annotations)
        Set the annotations property: List of tags that can be used for describing the Dataset.
        Overrides:
        setAnnotations in class Dataset
        Parameters:
        annotations - the annotations value to set.
        Returns:
        the Dataset object itself.
      • setFolder

        public MongoDbCollectionDataset setFolder​(DatasetFolder folder)
        Set the folder property: The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
        Overrides:
        setFolder in class Dataset
        Parameters:
        folder - the folder value to set.
        Returns:
        the Dataset object itself.