Package com.gpudb.protocol
Class AlterDatasourceRequest.DatasourceUpdatesMap
- java.lang.Object
-
- com.gpudb.protocol.AlterDatasourceRequest.DatasourceUpdatesMap
-
- Enclosing class:
- AlterDatasourceRequest
public static final class AlterDatasourceRequest.DatasourceUpdatesMap extends Object
A set of string constants for theAlterDatasourceRequestparameterdatasourceUpdatesMap.Map containing the properties of the data source to be updated. Error if empty.
-
-
Field Summary
Fields Modifier and Type Field Description static StringANONYMOUSCreate an anonymous connection to the storage provider--DEPRECATED: this is now the default.static StringAZURE_CONTAINER_NAMEName of the Azure storage container to use as the data sourcestatic StringAZURE_OAUTH_TOKENOAuth token to access given storage containerstatic StringAZURE_SAS_TOKENShared access signature token for Azure storage account to use as the data sourcestatic StringAZURE_STORAGE_ACCOUNT_NAMEName of the Azure storage account to use as the data source, this is valid only if tenant_id is specifiedstatic StringAZURE_TENANT_IDActive Directory tenant ID (or directory ID)static StringCONNECTION_TIMEOUTTimeout in seconds for connecting to this storage providerstatic StringCREDENTIALName of the credential object to be used in data sourcestatic StringFALSEstatic StringGCS_BUCKET_NAMEName of the Google Cloud Storage bucket to use as the data sourcestatic StringGCS_PROJECT_IDName of the Google Cloud project to use as the data sourcestatic StringGCS_SERVICE_ACCOUNT_KEYSGoogle Cloud service account keys to use for authenticating the data sourcestatic StringHDFS_DELEGATION_TOKENDelegation token for the given HDFS userstatic StringHDFS_KERBEROS_KEYTABKerberos keytab file location for the given HDFS user.static StringHDFS_USE_KERBEROSUse kerberos authentication for the given HDFS cluster.static StringJDBC_DRIVER_CLASS_NAMEName of the JDBC driver classstatic StringJDBC_DRIVER_JAR_PATHJDBC driver jar file location.static StringKAFKA_TOPIC_NAMEName of the Kafka topic to use as the data sourcestatic StringKAFKA_URLThe publicly-accessible full path URL to the Kafka broker, e.g., 'http://172.123.45.67:9300'.static StringLOCATIONLocation of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format.static StringPASSWORDPassword for the remote system user; may be an empty stringstatic StringS3_AWS_ROLE_ARNAmazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM userstatic StringS3_BUCKET_NAMEName of the Amazon S3 bucket to use as the data sourcestatic StringS3_ENCRYPTION_CUSTOMER_ALGORITHMCustomer encryption algorithm used encrypting datastatic StringS3_ENCRYPTION_CUSTOMER_KEYCustomer encryption key to encrypt or decrypt datastatic StringS3_REGIONName of the Amazon S3 region where the given bucket is locatedstatic StringS3_USE_VIRTUAL_ADDRESSINGWhether to use virtual addressing when referencing the Amazon S3 source.static StringS3_VERIFY_SSLWhether to verify SSL connections.static StringSCHEMA_NAMEUpdates the schema name.static StringSCHEMA_REGISTRY_CONNECTION_RETRIESConfluent Schema registry connection timeout (in Secs)static StringSCHEMA_REGISTRY_CONNECTION_TIMEOUTConfluent Schema registry connection timeout (in Secs)static StringSCHEMA_REGISTRY_CREDENTIALConfluent Schema Registry credential object name.static StringSCHEMA_REGISTRY_LOCATIONLocation of Confluent Schema Registry in '[storage_path[:storage_port]]' format.static StringSCHEMA_REGISTRY_PORTConfluent Schema Registry port (optional).static StringSKIP_VALIDATIONBypass validation of connection to remote source.static StringTRUEstatic StringUSE_HTTPSUse https to connect to datasource if true, otherwise use http.static StringUSE_MANAGED_CREDENTIALSWhen no credentials are supplied, we use anonymous access by default.static StringUSER_NAMEName of the remote system user; may be an empty stringstatic StringWAIT_TIMEOUTTimeout in seconds for reading from this storage provider
-
-
-
Field Detail
-
LOCATION
public static final String LOCATION
Location of the remote storage in 'storage_provider_type://[storage_path[:storage_port]]' format.Supported storage provider types are 'azure', 'gcs', 'hdfs', 'jdbc', 'kafka', 'confluent', and 's3'.
- See Also:
- Constant Field Values
-
USER_NAME
public static final String USER_NAME
Name of the remote system user; may be an empty string- See Also:
- Constant Field Values
-
PASSWORD
public static final String PASSWORD
Password for the remote system user; may be an empty string- See Also:
- Constant Field Values
-
SKIP_VALIDATION
public static final String SKIP_VALIDATION
Bypass validation of connection to remote source. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
TRUE
public static final String TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
-
CONNECTION_TIMEOUT
public static final String CONNECTION_TIMEOUT
Timeout in seconds for connecting to this storage provider- See Also:
- Constant Field Values
-
WAIT_TIMEOUT
public static final String WAIT_TIMEOUT
Timeout in seconds for reading from this storage provider- See Also:
- Constant Field Values
-
CREDENTIAL
public static final String CREDENTIAL
Name of the credential object to be used in data source- See Also:
- Constant Field Values
-
S3_BUCKET_NAME
public static final String S3_BUCKET_NAME
Name of the Amazon S3 bucket to use as the data source- See Also:
- Constant Field Values
-
S3_REGION
public static final String S3_REGION
Name of the Amazon S3 region where the given bucket is located- See Also:
- Constant Field Values
-
S3_VERIFY_SSL
public static final String S3_VERIFY_SSL
Whether to verify SSL connections. Supported values:TRUE: Connect with SSL verificationFALSE: Connect without verifying the SSL connection; for testing purposes, bypassing TLS errors, self-signed certificates, etc.
TRUE.- See Also:
- Constant Field Values
-
S3_USE_VIRTUAL_ADDRESSING
public static final String S3_USE_VIRTUAL_ADDRESSING
Whether to use virtual addressing when referencing the Amazon S3 source. Supported values:TRUE: The requests URI should be specified in virtual-hosted-style format where the bucket name is part of the domain name in the URL.FALSE: Use path-style URI for requests.
TRUE.- See Also:
- Constant Field Values
-
S3_AWS_ROLE_ARN
public static final String S3_AWS_ROLE_ARN
Amazon IAM Role ARN which has required S3 permissions that can be assumed for the given S3 IAM user- See Also:
- Constant Field Values
-
S3_ENCRYPTION_CUSTOMER_ALGORITHM
public static final String S3_ENCRYPTION_CUSTOMER_ALGORITHM
Customer encryption algorithm used encrypting data- See Also:
- Constant Field Values
-
S3_ENCRYPTION_CUSTOMER_KEY
public static final String S3_ENCRYPTION_CUSTOMER_KEY
Customer encryption key to encrypt or decrypt data- See Also:
- Constant Field Values
-
HDFS_KERBEROS_KEYTAB
public static final String HDFS_KERBEROS_KEYTAB
Kerberos keytab file location for the given HDFS user. This may be a KIFS file.- See Also:
- Constant Field Values
-
HDFS_DELEGATION_TOKEN
public static final String HDFS_DELEGATION_TOKEN
Delegation token for the given HDFS user- See Also:
- Constant Field Values
-
HDFS_USE_KERBEROS
public static final String HDFS_USE_KERBEROS
Use kerberos authentication for the given HDFS cluster. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
AZURE_STORAGE_ACCOUNT_NAME
public static final String AZURE_STORAGE_ACCOUNT_NAME
Name of the Azure storage account to use as the data source, this is valid only if tenant_id is specified- See Also:
- Constant Field Values
-
AZURE_CONTAINER_NAME
public static final String AZURE_CONTAINER_NAME
Name of the Azure storage container to use as the data source- See Also:
- Constant Field Values
-
AZURE_TENANT_ID
public static final String AZURE_TENANT_ID
Active Directory tenant ID (or directory ID)- See Also:
- Constant Field Values
-
AZURE_SAS_TOKEN
public static final String AZURE_SAS_TOKEN
Shared access signature token for Azure storage account to use as the data source- See Also:
- Constant Field Values
-
AZURE_OAUTH_TOKEN
public static final String AZURE_OAUTH_TOKEN
OAuth token to access given storage container- See Also:
- Constant Field Values
-
GCS_BUCKET_NAME
public static final String GCS_BUCKET_NAME
Name of the Google Cloud Storage bucket to use as the data source- See Also:
- Constant Field Values
-
GCS_PROJECT_ID
public static final String GCS_PROJECT_ID
Name of the Google Cloud project to use as the data source- See Also:
- Constant Field Values
-
GCS_SERVICE_ACCOUNT_KEYS
public static final String GCS_SERVICE_ACCOUNT_KEYS
Google Cloud service account keys to use for authenticating the data source- See Also:
- Constant Field Values
-
JDBC_DRIVER_JAR_PATH
public static final String JDBC_DRIVER_JAR_PATH
JDBC driver jar file location. This may be a KIFS file.- See Also:
- Constant Field Values
-
JDBC_DRIVER_CLASS_NAME
public static final String JDBC_DRIVER_CLASS_NAME
Name of the JDBC driver class- See Also:
- Constant Field Values
-
KAFKA_URL
public static final String KAFKA_URL
The publicly-accessible full path URL to the Kafka broker, e.g., 'http://172.123.45.67:9300'.- See Also:
- Constant Field Values
-
KAFKA_TOPIC_NAME
public static final String KAFKA_TOPIC_NAME
Name of the Kafka topic to use as the data source- See Also:
- Constant Field Values
-
ANONYMOUS
public static final String ANONYMOUS
Create an anonymous connection to the storage provider--DEPRECATED: this is now the default. Specify use_managed_credentials for non-anonymous connection. Supported values: The default value isTRUE.- See Also:
- Constant Field Values
-
USE_MANAGED_CREDENTIALS
public static final String USE_MANAGED_CREDENTIALS
When no credentials are supplied, we use anonymous access by default. If this is set, we will use cloud provider user settings. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
USE_HTTPS
public static final String USE_HTTPS
Use https to connect to datasource if true, otherwise use http. Supported values: The default value isTRUE.- See Also:
- Constant Field Values
-
SCHEMA_NAME
public static final String SCHEMA_NAME
Updates the schema name. IfSCHEMA_NAMEdoesn't exist, an error will be thrown. IfSCHEMA_NAMEis empty, then the user's default schema will be used.- See Also:
- Constant Field Values
-
SCHEMA_REGISTRY_CONNECTION_RETRIES
public static final String SCHEMA_REGISTRY_CONNECTION_RETRIES
Confluent Schema registry connection timeout (in Secs)- See Also:
- Constant Field Values
-
SCHEMA_REGISTRY_CONNECTION_TIMEOUT
public static final String SCHEMA_REGISTRY_CONNECTION_TIMEOUT
Confluent Schema registry connection timeout (in Secs)- See Also:
- Constant Field Values
-
SCHEMA_REGISTRY_CREDENTIAL
public static final String SCHEMA_REGISTRY_CREDENTIAL
Confluent Schema Registry credential object name.- See Also:
- Constant Field Values
-
SCHEMA_REGISTRY_LOCATION
public static final String SCHEMA_REGISTRY_LOCATION
Location of Confluent Schema Registry in '[storage_path[:storage_port]]' format.- See Also:
- Constant Field Values
-
SCHEMA_REGISTRY_PORT
public static final String SCHEMA_REGISTRY_PORT
Confluent Schema Registry port (optional).- See Also:
- Constant Field Values
-
-