Class CosmosDbMongoDbApiCollectionDataset


  • public final class CosmosDbMongoDbApiCollectionDataset
    extends Dataset
    The CosmosDB (MongoDB API) database dataset.
    • Constructor Detail

      • CosmosDbMongoDbApiCollectionDataset

        public CosmosDbMongoDbApiCollectionDataset()
    • Method Detail

      • withStructure

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

        public CosmosDbMongoDbApiCollectionDataset withSchema​(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:
        withSchema in class Dataset
        Parameters:
        schema - the schema value to set.
        Returns:
        the Dataset object itself.
      • withFolder

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

        public Object collection()
        Get the collection property: The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).
        Returns:
        the collection value.
      • withCollection

        public CosmosDbMongoDbApiCollectionDataset withCollection​(Object collection)
        Set the collection property: The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).
        Parameters:
        collection - the collection value to set.
        Returns:
        the CosmosDbMongoDbApiCollectionDataset object itself.