Interface Spigot.Builder

    • Method Detail

      • name

        Spigot.Builder name​(String name)

        The name of the transform node.

        Parameters:
        name - The name of the transform node.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputs

        Spigot.Builder inputs​(Collection<String> inputs)

        The data inputs identified by their node names.

        Parameters:
        inputs - The data inputs identified by their node names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputs

        Spigot.Builder inputs​(String... inputs)

        The data inputs identified by their node names.

        Parameters:
        inputs - The data inputs identified by their node names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • path

        Spigot.Builder path​(String path)

        A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.

        Parameters:
        path - A path in Amazon S3 where the transform will write a subset of records from the dataset to a JSON file in an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topk

        Spigot.Builder topk​(Integer topk)

        Specifies a number of records to write starting from the beginning of the dataset.

        Parameters:
        topk - Specifies a number of records to write starting from the beginning of the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • prob

        Spigot.Builder prob​(Double prob)

        The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.

        Parameters:
        prob - The probability (a decimal value with a maximum value of 1) of picking any given record. A value of 1 indicates that each row read from the dataset should be included in the sample output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.