Interface IcebergOrphanFileDeletionConfiguration.Builder

  • Method Details

    • orphanFileRetentionPeriodInDays

      IcebergOrphanFileDeletionConfiguration.Builder orphanFileRetentionPeriodInDays(Integer orphanFileRetentionPeriodInDays)

      The number of days that orphan files should be retained before file deletion. If an input is not provided, the default value 3 will be used.

      Parameters:
      orphanFileRetentionPeriodInDays - The number of days that orphan files should be retained before file deletion. If an input is not provided, the default value 3 will be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      Specifies a directory in which to look for files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.

      Parameters:
      location - Specifies a directory in which to look for files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runRateInHours

      The interval in hours between orphan file deletion job runs. This parameter controls how frequently the orphan file deletion optimizer will run to clean up orphan files. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.

      Parameters:
      runRateInHours - The interval in hours between orphan file deletion job runs. This parameter controls how frequently the orphan file deletion optimizer will run to clean up orphan files. The value must be between 3 and 168 hours (7 days). If an input is not provided, the default value 24 will be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.