Class CachingHiveMetastore.CachingHiveMetastoreBuilder
java.lang.Object
io.trino.plugin.hive.metastore.cache.CachingHiveMetastore.CachingHiveMetastoreBuilder
- Enclosing class:
- CachingHiveMetastore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cacheMissing(boolean cacheMissing) cacheTtl(io.airlift.units.Duration cacheTtl) delegate(HiveMetastore delegate) maximumSize(long maximumSize) metadataCacheEnabled(boolean metadataCacheEnabled) partitionCacheEnabled(boolean partitionCacheEnabled) refreshInterval(io.airlift.units.Duration refreshInterval) refreshInterval(Optional<io.airlift.units.Duration> refreshInterval) statsCacheEnabled(boolean statsCacheEnabled) statsCacheTtl(io.airlift.units.Duration statsCacheTtl) statsRecording(CachingHiveMetastore.StatsRecording statsRecording)
-
Constructor Details
-
CachingHiveMetastoreBuilder
public CachingHiveMetastoreBuilder()
-
-
Method Details
-
delegate
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder delegate(HiveMetastore delegate) -
executor
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder executor(Executor executor) -
metadataCacheEnabled
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder metadataCacheEnabled(boolean metadataCacheEnabled) -
statsCacheEnabled
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder statsCacheEnabled(boolean statsCacheEnabled) -
cacheTtl
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder cacheTtl(io.airlift.units.Duration cacheTtl) -
statsCacheTtl
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder statsCacheTtl(io.airlift.units.Duration statsCacheTtl) -
refreshInterval
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder refreshInterval(io.airlift.units.Duration refreshInterval) -
refreshInterval
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder refreshInterval(Optional<io.airlift.units.Duration> refreshInterval) -
maximumSize
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder maximumSize(long maximumSize) -
statsRecording
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder statsRecording(CachingHiveMetastore.StatsRecording statsRecording) -
cacheMissing
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder cacheMissing(boolean cacheMissing) -
partitionCacheEnabled
@CanIgnoreReturnValue public CachingHiveMetastore.CachingHiveMetastoreBuilder partitionCacheEnabled(boolean partitionCacheEnabled) -
build
-