Class FileSystemSpoolingConfig
java.lang.Object
io.trino.spooling.filesystem.FileSystemSpoolingConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.airlift.units.Durationlongio.airlift.units.Durationio.airlift.units.DurationgetTtl()boolean@AssertTrue(message="At least one storage file system must be enabled") booleanbooleanbooleanbooleanbooleanboolean@AssertTrue(message="Location must end with a slash") booleansetAzureEnabled(boolean azureEnabled) setDirectAccessTtl(io.airlift.units.Duration directAccessTtl) setEncryptionEnabled(boolean encryptionEnabled) setExplicitAckEnabled(boolean explicitAckEnabled) setGcsEnabled(boolean gcsEnabled) setLocation(String location) setPruningBatchSize(long pruningBatchSize) setPruningEnabled(boolean pruningEnabled) setPruningInterval(io.airlift.units.Duration pruningInterval) setS3Enabled(boolean nativeS3Enabled) setTtl(io.airlift.units.Duration ttl)
-
Constructor Details
-
FileSystemSpoolingConfig
public FileSystemSpoolingConfig()
-
-
Method Details
-
isAzureEnabled
public boolean isAzureEnabled() -
setAzureEnabled
-
isS3Enabled
public boolean isS3Enabled() -
setS3Enabled
-
isGcsEnabled
public boolean isGcsEnabled() -
setGcsEnabled
-
getLocation
-
setLocation
-
getLayout
-
setLayout
@Config("fs.layout") public FileSystemSpoolingConfig setLayout(FileSystemSpoolingConfig.Layout layout) -
getTtl
public io.airlift.units.Duration getTtl() -
setTtl
-
getDirectAccessTtl
public io.airlift.units.Duration getDirectAccessTtl() -
setDirectAccessTtl
@Config("fs.segment.direct.ttl") public FileSystemSpoolingConfig setDirectAccessTtl(io.airlift.units.Duration directAccessTtl) -
isEncryptionEnabled
public boolean isEncryptionEnabled() -
setEncryptionEnabled
@Config("fs.segment.encryption") public FileSystemSpoolingConfig setEncryptionEnabled(boolean encryptionEnabled) -
isExplicitAckEnabled
public boolean isExplicitAckEnabled() -
setExplicitAckEnabled
@Config("fs.segment.explicit-ack") public FileSystemSpoolingConfig setExplicitAckEnabled(boolean explicitAckEnabled) -
isPruningEnabled
public boolean isPruningEnabled() -
setPruningEnabled
@Config("fs.segment.pruning.enabled") public FileSystemSpoolingConfig setPruningEnabled(boolean pruningEnabled) -
getPruningInterval
public io.airlift.units.Duration getPruningInterval() -
setPruningInterval
@Config("fs.segment.pruning.interval") public FileSystemSpoolingConfig setPruningInterval(io.airlift.units.Duration pruningInterval) -
getPruningBatchSize
public long getPruningBatchSize() -
setPruningBatchSize
@Config("fs.segment.pruning.batch-size") public FileSystemSpoolingConfig setPruningBatchSize(long pruningBatchSize) -
isEitherNativeFileSystemEnabled
@AssertTrue(message="At least one storage file system must be enabled") public @AssertTrue(message="At least one storage file system must be enabled") boolean isEitherNativeFileSystemEnabled() -
locationEndsWithSlash
@AssertTrue(message="Location must end with a slash") public @AssertTrue(message="Location must end with a slash") boolean locationEndsWithSlash()
-