Package io.trino.hdfs.rubix
Class RubixConfig
java.lang.Object
io.trino.hdfs.rubix.RubixConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint@MinDuration("0s") @NotNull io.airlift.units.Durationint@jakarta.validation.constraints.Min(0L),@jakarta.validation.constraints.Max(100L) int@NotNull RubixConfig.ReadModebooleansetBookKeeperServerPort(int port) setCacheLocation(String location) setCacheTtl(io.airlift.units.Duration cacheTtl) setDataTransferServerPort(int port) setDiskUsagePercentage(int diskUsagePercentage) setReadMode(RubixConfig.ReadMode readMode) setStartServerOnCoordinator(boolean startServerOnCoordinator)
-
Constructor Details
-
RubixConfig
public RubixConfig()
-
-
Method Details
-
getReadMode
-
setReadMode
-
getCacheLocation
-
setCacheLocation
-
getCacheTtl
@MinDuration("0s") @NotNull public @MinDuration("0s") @NotNull io.airlift.units.Duration getCacheTtl() -
setCacheTtl
-
getDiskUsagePercentage
@Min(0L) @Max(100L) public @jakarta.validation.constraints.Min(0L),@jakarta.validation.constraints.Max(100L) int getDiskUsagePercentage() -
setDiskUsagePercentage
@Config("hive.cache.disk-usage-percentage") public RubixConfig setDiskUsagePercentage(int diskUsagePercentage) -
getBookKeeperServerPort
public int getBookKeeperServerPort() -
setBookKeeperServerPort
-
getDataTransferServerPort
public int getDataTransferServerPort() -
setDataTransferServerPort
-
isStartServerOnCoordinator
public boolean isStartServerOnCoordinator() -
setStartServerOnCoordinator
@Config("hive.cache.start-server-on-coordinator") public RubixConfig setStartServerOnCoordinator(boolean startServerOnCoordinator)
-