Class BlobStreamInputDataSourceProperties


  • public final class BlobStreamInputDataSourceProperties
    extends BlobDataSourceProperties
    The properties that are associated with a blob input containing stream data.
    • Constructor Detail

      • BlobStreamInputDataSourceProperties

        public BlobStreamInputDataSourceProperties()
    • Method Detail

      • sourcePartitionCount

        public Integer sourcePartitionCount()
        Get the sourcePartitionCount property: The partition count of the blob input data source. Range 1 - 256.
        Returns:
        the sourcePartitionCount value.
      • withSourcePartitionCount

        public BlobStreamInputDataSourceProperties withSourcePartitionCount​(Integer sourcePartitionCount)
        Set the sourcePartitionCount property: The partition count of the blob input data source. Range 1 - 256.
        Parameters:
        sourcePartitionCount - the sourcePartitionCount value to set.
        Returns:
        the BlobStreamInputDataSourceProperties object itself.
      • withContainer

        public BlobStreamInputDataSourceProperties withContainer​(String container)
        Set the container property: The name of a container within the associated Storage account. This container contains either the blob(s) to be read from or written to. Required on PUT (CreateOrReplace) requests.
        Overrides:
        withContainer in class BlobDataSourceProperties
        Parameters:
        container - the container value to set.
        Returns:
        the BlobDataSourceProperties object itself.
      • withPathPattern

        public BlobStreamInputDataSourceProperties withPathPattern​(String pathPattern)
        Set the pathPattern property: The blob path pattern. Not a regular expression. It represents a pattern against which blob names will be matched to determine whether or not they should be included as input or output to the job. See https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-input or https://docs.microsoft.com/en-us/rest/api/streamanalytics/stream-analytics-output for a more detailed explanation and example.
        Overrides:
        withPathPattern in class BlobDataSourceProperties
        Parameters:
        pathPattern - the pathPattern value to set.
        Returns:
        the BlobDataSourceProperties object itself.
      • withDateFormat

        public BlobStreamInputDataSourceProperties withDateFormat​(String dateFormat)
        Set the dateFormat property: The date format. Wherever {date} appears in pathPattern, the value of this property is used as the date format instead.
        Overrides:
        withDateFormat in class BlobDataSourceProperties
        Parameters:
        dateFormat - the dateFormat value to set.
        Returns:
        the BlobDataSourceProperties object itself.
      • withTimeFormat

        public BlobStreamInputDataSourceProperties withTimeFormat​(String timeFormat)
        Set the timeFormat property: The time format. Wherever {time} appears in pathPattern, the value of this property is used as the time format instead.
        Overrides:
        withTimeFormat in class BlobDataSourceProperties
        Parameters:
        timeFormat - the timeFormat value to set.
        Returns:
        the BlobDataSourceProperties object itself.