Package org.apache.iceberg
Class CatalogProperties
java.lang.Object
org.apache.iceberg.CatalogProperties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final longstatic final StringControls whether the caching catalog will cache table entries using case sensitive keys.static final booleanstatic final StringControls whether the catalog will cache table entries upon load.static final booleanstatic final StringControls the duration for which entries in the catalog are cached.static final longstatic final longstatic final Stringstatic final Stringstatic final longstatic final StringA comma separated list of elements used, in addition to theURI, to compose the key of the client pool cache.static final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final StringControls whether to use caching during manifest reads or not.static final booleanstatic final StringControls the maximum duration for which an entry stays in the manifest cache.static final longstatic final StringControls the maximum length of file to be considered for caching.static final longstatic final StringControls the maximum total amount of bytes to cache in manifest cache.static final longstatic final Stringstatic final longstatic final Stringstatic final longstatic final Stringstatic final longstatic final Stringstatic final intstatic final Stringstatic final longstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
-
Field Details
-
CATALOG_IMPL
- See Also:
-
FILE_IO_IMPL
- See Also:
-
WAREHOUSE_LOCATION
- See Also:
-
TABLE_DEFAULT_PREFIX
- See Also:
-
TABLE_OVERRIDE_PREFIX
- See Also:
-
VIEW_DEFAULT_PREFIX
- See Also:
-
METRICS_REPORTER_IMPL
- See Also:
-
CACHE_ENABLED
Controls whether the catalog will cache table entries upon load.If
CACHE_EXPIRATION_INTERVAL_MSis set to zero, this value will be ignored and the cache will be disabled.- See Also:
-
CACHE_ENABLED_DEFAULT
public static final boolean CACHE_ENABLED_DEFAULT- See Also:
-
CACHE_CASE_SENSITIVE
Controls whether the caching catalog will cache table entries using case sensitive keys.- See Also:
-
CACHE_CASE_SENSITIVE_DEFAULT
public static final boolean CACHE_CASE_SENSITIVE_DEFAULT- See Also:
-
CACHE_EXPIRATION_INTERVAL_MS
Controls the duration for which entries in the catalog are cached.Behavior of specific values of cache.expiration-interval-ms:
- Zero - Caching and cache expiration are both disabled
- Negative Values - Cache expiration is turned off and entries expire only on refresh etc
- Positive Values - Cache entries expire if not accessed via the cache after this many milliseconds
- See Also:
-
CACHE_EXPIRATION_INTERVAL_MS_DEFAULT
public static final long CACHE_EXPIRATION_INTERVAL_MS_DEFAULT -
CACHE_EXPIRATION_INTERVAL_MS_OFF
public static final long CACHE_EXPIRATION_INTERVAL_MS_OFF- See Also:
-
IO_MANIFEST_CACHE_ENABLED
Controls whether to use caching during manifest reads or not.Enabling manifest file caching require the following configuration constraints to be true:
IO_MANIFEST_CACHE_EXPIRATION_INTERVAL_MSmust be a non-negative value.IO_MANIFEST_CACHE_MAX_TOTAL_BYTESmust be a positive value.IO_MANIFEST_CACHE_MAX_CONTENT_LENGTHmust be a positive value.
- See Also:
-
IO_MANIFEST_CACHE_ENABLED_DEFAULT
public static final boolean IO_MANIFEST_CACHE_ENABLED_DEFAULT- See Also:
-
IO_MANIFEST_CACHE_EXPIRATION_INTERVAL_MS
Controls the maximum duration for which an entry stays in the manifest cache.Must be a non-negative value. Following are specific behaviors of this config:
- Zero - Cache entries expires only if it gets evicted due to memory pressure from
IO_MANIFEST_CACHE_MAX_TOTAL_BYTESsetting. - Positive Values - Cache entries expire if not accessed via the cache after this many milliseconds
- See Also:
- Zero - Cache entries expires only if it gets evicted due to memory pressure from
-
IO_MANIFEST_CACHE_EXPIRATION_INTERVAL_MS_DEFAULT
public static final long IO_MANIFEST_CACHE_EXPIRATION_INTERVAL_MS_DEFAULT -
IO_MANIFEST_CACHE_MAX_TOTAL_BYTES
Controls the maximum total amount of bytes to cache in manifest cache.Must be a positive value.
- See Also:
-
IO_MANIFEST_CACHE_MAX_TOTAL_BYTES_DEFAULT
public static final long IO_MANIFEST_CACHE_MAX_TOTAL_BYTES_DEFAULT- See Also:
-
IO_MANIFEST_CACHE_MAX_CONTENT_LENGTH
Controls the maximum length of file to be considered for caching.An
InputFilewill not be cached if the length is longer than this limit. Must be a positive value.- See Also:
-
IO_MANIFEST_CACHE_MAX_CONTENT_LENGTH_DEFAULT
public static final long IO_MANIFEST_CACHE_MAX_CONTENT_LENGTH_DEFAULT- See Also:
-
URI
- See Also:
-
CLIENT_POOL_SIZE
- See Also:
-
CLIENT_POOL_SIZE_DEFAULT
public static final int CLIENT_POOL_SIZE_DEFAULT- See Also:
-
CLIENT_POOL_CACHE_EVICTION_INTERVAL_MS
- See Also:
-
CLIENT_POOL_CACHE_EVICTION_INTERVAL_MS_DEFAULT
public static final long CLIENT_POOL_CACHE_EVICTION_INTERVAL_MS_DEFAULT -
CLIENT_POOL_CACHE_KEYS
A comma separated list of elements used, in addition to theURI, to compose the key of the client pool cache.Supported key elements in a Catalog are implementation-dependent.
- See Also:
-
LOCK_IMPL
- See Also:
-
LOCK_HEARTBEAT_INTERVAL_MS
- See Also:
-
LOCK_HEARTBEAT_INTERVAL_MS_DEFAULT
public static final long LOCK_HEARTBEAT_INTERVAL_MS_DEFAULT -
LOCK_HEARTBEAT_TIMEOUT_MS
- See Also:
-
LOCK_HEARTBEAT_TIMEOUT_MS_DEFAULT
public static final long LOCK_HEARTBEAT_TIMEOUT_MS_DEFAULT -
LOCK_HEARTBEAT_THREADS
- See Also:
-
LOCK_HEARTBEAT_THREADS_DEFAULT
public static final int LOCK_HEARTBEAT_THREADS_DEFAULT- See Also:
-
LOCK_ACQUIRE_INTERVAL_MS
- See Also:
-
LOCK_ACQUIRE_INTERVAL_MS_DEFAULT
public static final long LOCK_ACQUIRE_INTERVAL_MS_DEFAULT -
LOCK_ACQUIRE_TIMEOUT_MS
- See Also:
-
LOCK_ACQUIRE_TIMEOUT_MS_DEFAULT
public static final long LOCK_ACQUIRE_TIMEOUT_MS_DEFAULT -
LOCK_TABLE
- See Also:
-
APP_ID
- See Also:
-
USER
- See Also:
-
AUTH_SESSION_TIMEOUT_MS
- See Also:
-
AUTH_SESSION_TIMEOUT_MS_DEFAULT
public static final long AUTH_SESSION_TIMEOUT_MS_DEFAULT -
ENCRYPTION_KMS_TYPE
- See Also:
-
ENCRYPTION_KMS_IMPL
- See Also:
-