public enum BmcProperties extends Enum<BmcProperties>
Enum Constant and Description |
---|
APACHE_CONNECTION_CLOSING_STRATEGY
(string, optional) Connection Closing Strategy for the Apache Connection.
|
APACHE_MAX_CONNECTION_POOL_SIZE
(int, optional) The maximum number of connections that will be pooled in the connection pool used by the Apache
Client to create connections with the service.
|
BLOCK_SIZE_IN_MB
(long, optional) HDFS file block size, in mebibytes.
|
CONNECTION_TIMEOUT_MILLIS
(int, optional) The max time to wait for a connection, in millis.
|
FILESYSTEM_CACHING_ENABLED
(boolean, optional) Whether
BmcFilesystem caching is enabled. |
FILESYSTEM_CACHING_EXPIRE_AFTER_ACCESS_SECONDS
(int, optional) Whether cached
BmcFilesystem items should be expired if a certain number of seconds has
passed since the last access, regardless of whether it was a read or a write. |
FILESYSTEM_CACHING_EXPIRE_AFTER_WRITE_SECONDS
(int, optional) Whether cached
BmcFilesystem items should be expired if a certain number of seconds has
passed since the last write access. |
FILESYSTEM_CACHING_INITIAL_CAPACITY
(int, optional) Initial capacity of cached
BmcFilesystem items. |
FILESYSTEM_CACHING_MAXIMUM_SIZE
(int, optional) Maximum number of cached
BmcFilesystem items. |
FINGERPRINT
(string, required) The fingerprint used for authentication.
|
HOST_NAME
(string, required) Object Store endpoint name (http://server.path.com) .
|
HTTP_PROXY_PASSWORD
(string, optional) The password to use with the associated
HTTP_PROXY_USERNAME . |
HTTP_PROXY_URI
(string, optional) The HTTP proxy URI if using a proxy to connect to Object Storage Service.
|
HTTP_PROXY_USERNAME
(string, optional) The username to use for the configured HTTP proxy via
HTTP_PROXY_URI . |
IN_MEMORY_READ_BUFFER
(boolean, optional) Flag to enable reading all files to memory first (instead streaming from Object Store), to
allow faster seeking.
|
IN_MEMORY_WRITE_BUFFER
(boolean, optional) Flag to enable writing all files to memory (instead of a temp file) before uploading to
Object Store.
|
JERSEY_CLIENT_DEFAULT_CONNECTOR_ENABLED
(boolean, optional) Flag to enable Jersey default HttpUrlConnector for sending requests using jersey client.
|
JERSEY_CLIENT_LOGGING_ENABLED
(boolean, optional) Flag to enable jersey client logging.
|
JERSEY_CLIENT_LOGGING_LEVEL
(string, optional) Log Level for jersey client logger.
|
JERSEY_CLIENT_LOGGING_VERBOSITY
(string, optional) Verbosity for jersey client logger.
|
MD5_NUM_THREADS
(int, optional) The number of threads to use for parallel MD5 calculation.
|
MULTIPART_ALLOW_OVERWRITE
(boolean, optional) Flag to enable overwrites while using Multipart Uploads.
|
MULTIPART_ALLOWED
(boolean, optional) Flag for whether or not multi-part uploads are allowed at all.
|
MULTIPART_IN_MEMORY_WRITE_BUFFER_ENABLED
(boolean, optional) Flag to enable pseudo-streaming to OCI via Multipart Uploads backed by a circular buffer.
|
MULTIPART_IN_MEMORY_WRITE_TASK_TIMEOUT_SECONDS
(int, optional) The amount of time in seconds to block waiting for a slot in the multipart upload executor.
|
MULTIPART_MIN_PART_SIZE_IN_MB
Deprecated.
use
MULTIPART_PART_SIZE_IN_MB instead |
MULTIPART_MIN_SIZE_OF_OBJECT_IN_MB
(int, optional) The minimum size, in mebibytes, an object must be before its eligible for multi-part uploads.
|
MULTIPART_NUM_UPLOAD_THREADS
(int, optional) The number of threads to use for parallel multi-part uploads.
|
MULTIPART_PART_SIZE_IN_MB
(int, optional) The part size, in mebibytes that each part should be uploaded as.
|
NUM_READ_AHEAD_THREADS
(int, optional) The number of threads to use for parallel GET operations when reading ahead.
|
OBJECT_AUTO_CLOSE_INPUT_STREAM
(boolean, optional) Flag to enable/disable auto-close of object streams on full read.
|
OBJECT_METADATA_CACHING_ENABLED
(boolean, optional) Flag to enable object metadata caching.
|
OBJECT_METADATA_CACHING_SPEC
(string, optional) Controls object metadata caching and eviction.
|
OBJECT_PARQUET_CACHING_ENABLED
(boolean, optional) Flag to enable parquet caching.
|
OBJECT_PARQUET_CACHING_SPEC
(string, optional) Controls object parquet caching and eviction.
|
OBJECT_PAYLOAD_CACHING_CONSISTENCY_POLICY_CLASS
(string, optional) The consistency policy to use for the object payload cache.
|
OBJECT_PAYLOAD_CACHING_DIRECTORY
(string, optional) The directory for the object payload cache.
|
OBJECT_PAYLOAD_CACHING_ENABLED
(boolean, optional) Whether payload caching on disk is enabled.
|
OBJECT_PAYLOAD_CACHING_EXPIRE_AFTER_ACCESS_SECONDS
(int, optional) Whether cached items should be expired if a certain number of seconds has passed since the
last access, regardless of whether it was a read or a write.
|
OBJECT_PAYLOAD_CACHING_EXPIRE_AFTER_WRITE_SECONDS
(int, optional) Whether cached items should be expired if a certain number of seconds has passed since the
last write access.
|
OBJECT_PAYLOAD_CACHING_INITIAL_CAPACITY
(int, optional) Initial capacity of cached items.
|
OBJECT_PAYLOAD_CACHING_MAXIMUM_SIZE
(int, optional) Maximum number of cached items.
|
OBJECT_PAYLOAD_CACHING_MAXIMUM_WEIGHT_IN_BYTES
(long, optional) Maximum weight of the cache in bytes.
|
OBJECT_PAYLOAD_CACHING_RECORD_STATS_ENABLED
(boolean, optional) Whether to record cache statistics.
|
OBJECT_PAYLOAD_CACHING_RECORD_STATS_TIME_INTERVAL_IN_SECONDS
(long, optional) The time interval (in seconds) between successive logging of cache statistics.
|
OBJECT_STORE_AUTHENTICATOR_CLASS
(string, optional) Fully qualified class name of a custom implementation of
BasicAuthenticationDetailsProvider . |
OBJECT_STORE_CLIENT_CLASS
(string, optional) Fully qualified class name of a custom implementation of
ObjectStorage . |
OCI_DELEGATION_TOKEN_FILEPATH
(String, optional) File path that has the delegation token.
|
PASS_PHRASE
(string, optional) Pass phrase to use for the PEM file if it's encrypted.
|
PEM_FILE_PATH
(string, required) Path to the PEM file used for authentication.
|
READ_AHEAD
(boolean, optional) Flag to enable read ahead.
|
READ_AHEAD_BLOCK_COUNT
(int, optional) Number of blocks to read if READ_AHEAD is enabled.
|
READ_AHEAD_BLOCK_SIZE
(int, optional) Size in bytes of the blocks to read if READ_AHEAD is enabled.
|
READ_STREAM_CLASS
(string, optional) The custom stream class for reading.
|
READ_TIMEOUT_MILLIS
(int, optional) The max time to wait for data, in millis.
|
REALM_SPECIFIC_ENDPOINT_TEMPLATES_ENABLED
(boolean, optional) Flag to enable/disable the use of realm-specific endpoint templates, if defined.
|
RECURSIVE_DIR_LISTING_FETCH_SIZE
(int, optional) Whenever listFiles with recursive being true is invoked on a dir, a listing API is called
on OSS that gets all the files in a flat manner.
|
REGION_CODE_OR_ID
(string, optional) The region code or region identifier used to establish Object Storage endpoint name.
|
RENAME_DIRECTORY_NUM_THREADS
(int, optional) The number of threads to use for parallel rename operations when renaming the directory.
|
RETRY_TIMEOUT_IN_SECONDS
(long, optional) The timeout to use for exponential delay retries for retryable service errors.
|
RETRY_TIMEOUT_RESET_THRESHOLD_IN_SECONDS
(long, optional) The max sleep for delays in between retries for retryable service errors.
|
TENANT_ID
(string, required) The tenant ID used for authentication.
|
USER_ID
(string, required) The user ID used for authentication.
|
WRITE_STREAM_CLASS
(string, optional) The custom stream class for writing.
|
Modifier and Type | Method and Description |
---|---|
Object |
getDefaultValue() |
String |
getPropertyName() |
static BmcProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BmcProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BmcProperties BLOCK_SIZE_IN_MB
BmcConstants.BLOCK_SIZE_IN_MB_KEY
for config key
name. Default is 32.
http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html#Data_Blocks
public static final BmcProperties IN_MEMORY_WRITE_BUFFER
BmcConstants.IN_MEMORY_WRITE_BUFFER_KEY
for config key name. Default is false.
Cannot be enabled at the same time as MULTIPART_IN_MEMORY_WRITE_BUFFER_ENABLED
.public static final BmcProperties IN_MEMORY_READ_BUFFER
BmcConstants.IN_MEMORY_READ_BUFFER_KEY
for config key name. Default is false.
Incompatible with READ_AHEAD.public static final BmcProperties OBJECT_STORE_CLIENT_CLASS
ObjectStorage
. See
BmcConstants.OBJECT_STORE_CLIENT_CLASS_KEY
for config key name.public static final BmcProperties OBJECT_STORE_AUTHENTICATOR_CLASS
BasicAuthenticationDetailsProvider
. See BmcConstants.OBJECT_STORE_AUTHENTICATOR_CLASS_KEY
for config
key name.public static final BmcProperties HOST_NAME
BmcConstants.HOST_NAME_KEY
for config key name.public static final BmcProperties TENANT_ID
BmcConstants.TENANT_ID_KEY
for config key name.public static final BmcProperties USER_ID
BmcConstants.USER_ID_KEY
for config key name.public static final BmcProperties FINGERPRINT
BmcConstants.FINGERPRINT_KEY
for config key name.public static final BmcProperties PEM_FILE_PATH
BmcConstants.PEM_FILE_PATH_KEY
for config key name.public static final BmcProperties PASS_PHRASE
BmcConstants.PASS_PHRASE_KEY
for config key name.public static final BmcProperties REGION_CODE_OR_ID
BmcConstants.REGION_CODE_OR_ID_KEY
for config key name.public static final BmcProperties CONNECTION_TIMEOUT_MILLIS
BmcConstants.CONNECTION_TIMEOUT_MILLIS_KEY
for config key name. Defaults to Java SDK timeout, see
ClientConfiguration
.public static final BmcProperties READ_TIMEOUT_MILLIS
BmcConstants.READ_TIMEOUT_MILLIS_KEY
for
config key name. Defaults to Java SDK timeout, see ClientConfiguration
.public static final BmcProperties MULTIPART_ALLOWED
BmcConstants.MULTIPART_ALLOWED_KEY
for config key name. Default true.public static final BmcProperties MULTIPART_NUM_UPLOAD_THREADS
BmcConstants.MULTIPART_NUM_UPLOAD_THREADS_KEY
for config key name.public static final BmcProperties MD5_NUM_THREADS
BmcConstants.MD5_NUM_THREADS_KEY
for config key name.public static final BmcProperties MULTIPART_MIN_SIZE_OF_OBJECT_IN_MB
BmcConstants.MULTIPART_MIN_SIZE_OF_OBJECT_IN_MB_KEY
for config key name.@Deprecated public static final BmcProperties MULTIPART_MIN_PART_SIZE_IN_MB
MULTIPART_PART_SIZE_IN_MB
insteadBmcConstants.MULTIPART_MIN_PART_SIZE_IN_MB_KEY
for config key name.public static final BmcProperties MULTIPART_PART_SIZE_IN_MB
BmcConstants.MULTIPART_PART_SIZE_IN_MB_KEY
for config key name.public static final BmcProperties HTTP_PROXY_URI
BmcConstants.HTTP_PROXY_URI_KEY
for the config key name.public static final BmcProperties HTTP_PROXY_USERNAME
HTTP_PROXY_URI
.
See BmcConstants.HTTP_PROXY_USERNAME_KEY
for the config key name.public static final BmcProperties HTTP_PROXY_PASSWORD
HTTP_PROXY_USERNAME
.
See BmcConstants.HTTP_PROXY_PASSWORD_KEY
for the config key name.public static final BmcProperties RETRY_TIMEOUT_IN_SECONDS
OBJECT_STORE_CLIENT_CLASS
is specified. See
BmcConstants.RETRY_TIMEOUT_IN_SECONDS_KEY
for config key name. Default is 30.public static final BmcProperties RETRY_TIMEOUT_RESET_THRESHOLD_IN_SECONDS
OBJECT_STORE_CLIENT_CLASS
is specified. See
BmcConstants.RETRY_TIMEOUT_RESET_THRESHOLD_IN_SECONDS_KEY
for config key name. Default is 0.public static final BmcProperties OBJECT_METADATA_CACHING_ENABLED
BmcConstants.OBJECT_METADATA_CACHING_ENABLED_KEY
for config key name. Default is false.
Note: If this is enabled, the OCI HDFS Connector will cache object metadata, and queries will not necessarily
reflect the actual data in Object Storage.public static final BmcProperties OBJECT_METADATA_CACHING_SPEC
BmcConstants.OBJECT_METADATA_CACHING_SPEC_KEY
for config key name. Default is
"maximumSize=1024,expireAfterWrite=5m", which caches up to 1024 HEAD object responses for up to 5 minutes.
To cache values for an infinite amount of time, do not list any setting for "expireAfterWrite",
"expireAfterAccess", or "refreshAfterWrite". For example, "maximumSize=1024" will cache up to 1024 HEAD object
responses for an unlimited amount of time, and only re-requesting them if they had to be evicted because of
the maximum cache size.public static final BmcProperties JERSEY_CLIENT_LOGGING_ENABLED
BmcConstants.JERSEY_CLIENT_LOGGING_ENABLED_KEY
for config key name. Default is false.
Note: If this is enabled, the OCI HDFS Connector will enable the JerseyClientLoggingConfigurator in the underlying
java sdk and logs jersey client callspublic static final BmcProperties JERSEY_CLIENT_LOGGING_LEVEL
BmcConstants.JERSEY_CLIENT_LOGGING_LEVEL_KEY
for config key name. Default is Warning.
Note: The log level can only be set if jersey client logging flag is enabledpublic static final BmcProperties JERSEY_CLIENT_LOGGING_VERBOSITY
BmcConstants.JERSEY_CLIENT_LOGGING_VERBOSITY_KEY
for config key name. Default is false.
Note: The verbosity can only be set if jersey client logging flag is enabledpublic static final BmcProperties READ_AHEAD
BmcConstants.READ_AHEAD_KEY
for config key name. Default is false.
Incompatible with IN_MEMORY_READ_.public static final BmcProperties READ_AHEAD_BLOCK_SIZE
BmcConstants.READ_AHEAD_BLOCK_SIZE_KEY
for config key name. Default is 6 MiB.public static final BmcProperties READ_AHEAD_BLOCK_COUNT
BmcConstants.READ_AHEAD_BLOCK_COUNT_KEY
for config key name. Default is 1.public static final BmcProperties NUM_READ_AHEAD_THREADS
BmcConstants.NUM_READ_AHEAD_THREADS_KEY
for config key name. Note, any value
smaller than 0 is interpreted as using the default value. Default is 16.public static final BmcProperties OBJECT_PARQUET_CACHING_ENABLED
BmcConstants.OBJECT_PARQUET_CACHING_ENABLED_KEY
for config key name. Default is false.
Requires READ_AHEAD to be enabled.
Note: If this is enabled, the OCI HDFS Connector will cache object parquet data, and queries will not necessarily
reflect the actual data in Object Storage.public static final BmcProperties OBJECT_PARQUET_CACHING_SPEC
BmcConstants.OBJECT_PARQUET_CACHING_SPEC_KEY
for config key name. Default is
"maximumSize=10240,expireAfterWrite=15m", which caches up to 10240 parquet objects for up to 15 minutes.
To cache values for an infinite amount of time, do not list any setting for "expireAfterWrite",
"expireAfterAccess", or "refreshAfterWrite". For example, "maximumSize=1024" will cache up to 1024 parquet
objects for an unlimited amount of time, and only re-requesting them if they had to be evicted because of
the maximum cache size.public static final BmcProperties APACHE_CONNECTION_CLOSING_STRATEGY
public static final BmcProperties OBJECT_PAYLOAD_CACHING_ENABLED
public static final BmcProperties OBJECT_PAYLOAD_CACHING_MAXIMUM_WEIGHT_IN_BYTES
public static final BmcProperties OBJECT_PAYLOAD_CACHING_MAXIMUM_SIZE
public static final BmcProperties OBJECT_PAYLOAD_CACHING_INITIAL_CAPACITY
public static final BmcProperties OBJECT_PAYLOAD_CACHING_RECORD_STATS_ENABLED
public static final BmcProperties OBJECT_PAYLOAD_CACHING_RECORD_STATS_TIME_INTERVAL_IN_SECONDS
public static final BmcProperties OBJECT_PAYLOAD_CACHING_EXPIRE_AFTER_ACCESS_SECONDS
public static final BmcProperties OBJECT_PAYLOAD_CACHING_EXPIRE_AFTER_WRITE_SECONDS
public static final BmcProperties OBJECT_PAYLOAD_CACHING_CONSISTENCY_POLICY_CLASS
public static final BmcProperties OBJECT_PAYLOAD_CACHING_DIRECTORY
public static final BmcProperties JERSEY_CLIENT_DEFAULT_CONNECTOR_ENABLED
BmcConstants.JERSEY_CLIENT_DEFAULT_CONNECTOR_ENABLED_KEY
for config key name. Default is false.
Note: If the SDK default ApacheConnector is to be utilised for sending requests, please don't change this valuepublic static final BmcProperties APACHE_MAX_CONNECTION_POOL_SIZE
ApacheConnectorProperties
.public static final BmcProperties RENAME_DIRECTORY_NUM_THREADS
ApacheConnectorProperties
.public static final BmcProperties MULTIPART_IN_MEMORY_WRITE_BUFFER_ENABLED
BmcConstants.MULTIPART_IN_MEMORY_WRITE_BUFFER_ENABLED_KEY
for config key name. Default is false.
Cannot be enabled at the same time as IN_MEMORY_WRITE_BUFFER
.
If enabled, requires MULTIPART_NUM_UPLOAD_THREADS
to be set.public static final BmcProperties MULTIPART_IN_MEMORY_WRITE_TASK_TIMEOUT_SECONDS
BmcConstants.MULTIPART_IN_MEMORY_WRITE_TASK_TIMEOUT_SECONDS_KEY
for config key name. Default is 900.public static final BmcProperties MULTIPART_ALLOW_OVERWRITE
BmcConstants.MULTIPART_ALLOW_OVERWRITE_KEY
for config key name. Default is false.public static final BmcProperties OBJECT_AUTO_CLOSE_INPUT_STREAM
public static final BmcProperties REALM_SPECIFIC_ENDPOINT_TEMPLATES_ENABLED
BmcConstants.REALM_SPECIFIC_ENDPOINT_TEMPLATES_ENABLED_KEY
for config key name
If enabled, requires REGION_CODE_OR_ID
to be set.
Note, this field will be overridden by "fs.oci.client.hostname property" if set.public static final BmcProperties READ_STREAM_CLASS
AbstractBmcCustomFSInputStream
. See
BmcConstants.READ_STREAM_CLASS_KEY
for config key name.public static final BmcProperties WRITE_STREAM_CLASS
AbstractBmcCustomOutputStream
. See
BmcConstants.WRITE_STREAM_CLASS_KEY
for config key name.public static final BmcProperties FILESYSTEM_CACHING_ENABLED
BmcFilesystem
caching is enabled. Default is false.
This setting cannot be overridden per namespace and bucket.public static final BmcProperties FILESYSTEM_CACHING_MAXIMUM_SIZE
BmcFilesystem
items. The default is 1024.
This setting cannot be overridden per namespace and bucket.public static final BmcProperties FILESYSTEM_CACHING_INITIAL_CAPACITY
BmcFilesystem
items. The default is 1024.
This setting cannot be overridden per namespace and bucket.public static final BmcProperties FILESYSTEM_CACHING_EXPIRE_AFTER_ACCESS_SECONDS
BmcFilesystem
items should be expired if a certain number of seconds has
passed since the last access, regardless of whether it was a read or a write. The default is unset, which means
this expiration strategy is not used.
Cannot be combined with FILESYSTEM_CACHING_EXPIRE_AFTER_WRITE_SECONDS.
This setting cannot be overridden per namespace and bucket.public static final BmcProperties FILESYSTEM_CACHING_EXPIRE_AFTER_WRITE_SECONDS
BmcFilesystem
items should be expired if a certain number of seconds has
passed since the last write access. The default is 30 minutes.
Cannot be combined with FILESYSTEM_CACHING_EXPIRE_AFTER_ACCESS_SECONDS.
This setting cannot be overridden per namespace and bucket.public static final BmcProperties OCI_DELEGATION_TOKEN_FILEPATH
public static final BmcProperties RECURSIVE_DIR_LISTING_FETCH_SIZE
BmcConstants.RECURSIVE_DIR_LISTING_FETCH_SIZE_KEY
for config key name.public static BmcProperties[] values()
for (BmcProperties c : BmcProperties.values()) System.out.println(c);
public static BmcProperties valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getPropertyName()
public Object getDefaultValue()
Copyright © 2016–2023. All rights reserved.