com.sap.hana.datalake.files.HdlfsConstants Maven / Gradle / Ivy
package com.sap.hana.datalake.files;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
public class HdlfsConstants {
private HdlfsConstants() {}
public static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
public static final String FS_HDLFS_CONTAINER_HEADER = "X-SAP-FileContainer";
public static final String FS_HDLFS_AUTHORITY_REGEX = "([A-Za-z0-9-]*).(.*)";
// impersonation support
public static final String FS_HDLFS_IMPERSONATION_ENABLED_KEY = "fs.hdlfs.impersonation.enabled";
public static final String FS_HDLFS_IMPERSONATION_USER_KEY = "fs.hdlfs.impersonation.user";
public static final String TRUSTED_USER_HEADER = "X-SAP-Trusted-User";
public static final String TRUSTED_USER_ENCODING_HEADER = "X-SAP-Trusted-User-Encoding";
public static final String TRUSTED_USER_ENCODING = "b64-utf-8";
public static final String FS_HDLFS_ENDPOINT_KEY = "fs.hdlfs.endpoint";
public static final String FS_HDLFS_CONNECTION_ID = "fs.hdlfs.connection.id";
public static final String FS_HDLFS_CONNECTION_ID_HEADER = "X-SAP-Connection-Id";
public static final String FS_HDLFS_FILECONTAINER_KEY = "fs.hdlfs.filecontainer";
public static final String FS_HDLFS_OPTIMIZE_FILEOUTPUTCOMMIT_ENABLED_KEY = "fs.hdlfs.optimize-fileoutputcommit.enabled";
public static final String FS_HDLFS_SSL_ENABLED_KEY = "fs.hdlfs.ssl.enabled";
public static final String FS_HDLFS_SSL_KEYSTORE_TYPE_KEY = "fs.hdlfs.ssl.keystore.type";
public static final String FS_HDLFS_SSL_KEYSTORE_LOCATION_KEY = "fs.hdlfs.ssl.keystore.location";
public static final String FS_HDLFS_SSL_KEYSTORE_PASSWORD_KEY = "fs.hdlfs.ssl.keystore.password";
public static final String FS_HDLFS_SSL_KEYSTORE_KEYPASSWORD_KEY = "fs.hdlfs.ssl.keystore.keypassword";
public static final String FS_HDLFS_SSL_KEYSTORE_TYPE_DEFAULT = "jks";
public static final String FS_HDLFS_SSL_KEYSTORE_PASSWORD_DEFAULT = "";
public static final String FS_HDLFS_SSL_TRUSTSTORE_TYPE_KEY = "fs.hdlfs.ssl.truststore.type";
public static final String FS_HDLFS_SSL_TRUSTSTORE_LOCATION_KEY = "fs.hdlfs.ssl.truststore.location";
public static final String FS_HDLFS_SSL_TRUSTSTORE_PASSWORD_KEY = "fs.hdlfs.ssl.truststore.password";
public static final String FS_HDLFS_SSL_TRUSTSTORE_TYPE_DEFAULT = "jks";
public static final String FS_HDLFS_SSL_TRUSTSTORE_PASSWORD_DEFAULT = "";
public static final String FS_HDLFS_SSL_TRUSTSTORE_LOCATION_DEFAULT = "";
public static final int FS_HDLFS_CONNECTION_TIMEOUT_DEFAULT = 1_000_000; // ms
public static final int FS_HDLFS_READ_TIMEOUT_DEFAULT = 1_000_000; // ms
public static final String FS_HDLFS_KEYSTORES_FACTORY_CLASS_KEY = "fs.hdlfs.ssl.keystores.factory.class";
public static final String FS_HDLFS_OPERATION_CREATE_MODE_KEY = "fs.hdlfs.operation.create.mode";
public static final String MAPREDUCE_FILEOUTPUTCOMMITTER_ALGORITHM_VERSION_KEY = "mapreduce.fileoutputcommitter.algorithm.version";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy