Class GcsFileSystemConfig

java.lang.Object
io.trino.filesystem.gcs.GcsFileSystemConfig

public class GcsFileSystemConfig extends Object
  • Constructor Details

    • GcsFileSystemConfig

      public GcsFileSystemConfig()
  • Method Details

    • getReadBlockSize

      @NotNull public @NotNull io.airlift.units.DataSize getReadBlockSize()
    • setReadBlockSize

      @Config("gcs.read-block-size") public GcsFileSystemConfig setReadBlockSize(io.airlift.units.DataSize readBlockSize)
    • getWriteBlockSize

      @NotNull public @NotNull io.airlift.units.DataSize getWriteBlockSize()
    • setWriteBlockSize

      @Config("gcs.write-block-size") public GcsFileSystemConfig setWriteBlockSize(io.airlift.units.DataSize writeBlockSize)
    • getPageSize

      @Min(1L) public @jakarta.validation.constraints.Min(1L) int getPageSize()
    • setPageSize

      @Config("gcs.page-size") public GcsFileSystemConfig setPageSize(int pageSize)
    • getBatchSize

      @Min(1L) public @jakarta.validation.constraints.Min(1L) int getBatchSize()
    • setBatchSize

      @Config("gcs.batch-size") public GcsFileSystemConfig setBatchSize(int batchSize)
    • getProjectId

      @Nullable public String getProjectId()
    • setProjectId

      @Config("gcs.project-id") public GcsFileSystemConfig setProjectId(String projectId)
    • isUseGcsAccessToken

      public boolean isUseGcsAccessToken()
    • setUseGcsAccessToken

      @Config("gcs.use-access-token") public GcsFileSystemConfig setUseGcsAccessToken(boolean useGcsAccessToken)
    • getJsonKey

      @Nullable public String getJsonKey()
    • setJsonKey

      @Config("gcs.json-key") public GcsFileSystemConfig setJsonKey(String jsonKey)
    • getJsonKeyFilePath

      @Nullable @FileExists public @FileExists String getJsonKeyFilePath()
    • setJsonKeyFilePath

      @Config("gcs.json-key-file-path") public GcsFileSystemConfig setJsonKeyFilePath(String jsonKeyFilePath)
    • getMaxRetries

      @Min(0L) public @jakarta.validation.constraints.Min(0L) int getMaxRetries()
    • setMaxRetries

      @Config("gcs.client.max-retries") public GcsFileSystemConfig setMaxRetries(int maxRetries)
    • getBackoffScaleFactor

      @Min(1L) public @jakarta.validation.constraints.Min(1L) double getBackoffScaleFactor()
    • setBackoffScaleFactor

      @Config("gcs.client.backoff-scale-factor") public GcsFileSystemConfig setBackoffScaleFactor(double backoffScaleFactor)
    • getMaxRetryTime

      @NotNull public @NotNull io.airlift.units.Duration getMaxRetryTime()
    • setMaxRetryTime

      @Config("gcs.client.max-retry-time") public GcsFileSystemConfig setMaxRetryTime(io.airlift.units.Duration maxRetryTime)
    • getMinBackoffDelay

      @NotNull @MinDuration("0ms") public @NotNull @MinDuration("0ms") io.airlift.units.Duration getMinBackoffDelay()
    • setMinBackoffDelay

      @Config("gcs.client.min-backoff-delay") public GcsFileSystemConfig setMinBackoffDelay(io.airlift.units.Duration minBackoffDelay)
    • getMaxBackoffDelay

      @NotNull @MinDuration("0ms") public @NotNull @MinDuration("0ms") io.airlift.units.Duration getMaxBackoffDelay()
    • setMaxBackoffDelay

      @Config("gcs.client.max-backoff-delay") public GcsFileSystemConfig setMaxBackoffDelay(io.airlift.units.Duration maxBackoffDelay)
    • isRetryDelayValid

      @AssertTrue(message="gcs.client.min-backoff-delay must be less than or equal to gcs.client.max-backoff-delay") public @jakarta.validation.constraints.AssertTrue(message="gcs.client.min-backoff-delay must be less than or equal to gcs.client.max-backoff-delay") boolean isRetryDelayValid()
    • validate

      public void validate()