Interface DataLakeDatasetPartitionField.Builder

  • Method Details

    • name

      The name of the partition field.

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

      The transformation of the partition field. A transformation specifies how to partition on a given field. For example, with timestamp you can specify that you'd like to partition fields by day, e.g. data record with value 2025-01-03T00:00:00Z in partition field is in 2025-01-03 partition. Also noted that data record without any value in optional partition field is in NULL partition.

      Parameters:
      transform - The transformation of the partition field. A transformation specifies how to partition on a given field. For example, with timestamp you can specify that you'd like to partition fields by day, e.g. data record with value 2025-01-03T00:00:00Z in partition field is in 2025-01-03 partition. Also noted that data record without any value in optional partition field is in NULL partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • transform

      The transformation of the partition field. A transformation specifies how to partition on a given field. For example, with timestamp you can specify that you'd like to partition fields by day, e.g. data record with value 2025-01-03T00:00:00Z in partition field is in 2025-01-03 partition. Also noted that data record without any value in optional partition field is in NULL partition.

      This is a convenience method that creates an instance of the DataLakeDatasetPartitionFieldTransform.Builder avoiding the need to create one manually via DataLakeDatasetPartitionFieldTransform.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to transform(DataLakeDatasetPartitionFieldTransform).

      Parameters:
      transform - a consumer that will call methods on DataLakeDatasetPartitionFieldTransform.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: