15. CSV
15.1. Connection Options
15.1.1. Authentication
Property
Description
AuthScheme
The type of authentication to use when connecting to remote services.
AccessKey
Your account access key. This value is accessible from your security credentials page.
SecretKey
Your account secret key. This value is accessible from your security credentials page.
ApiKey
The API Key used to identify the user to IBM Cloud.
User
The CSV user account used to authenticate.
Password
The password used to authenticate the user.
SharePointEdition
The edition of SharePoint being used. Set either SharePointOnline or SharePointOnPremise.
15.1.2. Connection
Property
Description
URI
The Uniform Resource Identifier (URI) for the CSV resource location.
Region
The hosting region for your S3-like Web Services.
ProjectId
The id of the project where your Google Cloud Storage instance resides.
OracleNamespace
The Oracle Cloud Object Storage namespace to use.
StorageBaseURL
The URL of a cloud storage service provider.
SimpleUploadLimit
This setting specifies the threshold, in bytes, above which the provider will choose to perform a multipart upload rather than uploading everything in one request.
UseVirtualHosting
If true (default), buckets will be referenced in the request using the hosted-style request: http://yourbucket.s3.amazonaws.com/yourobject. If set to false, the bean will use the path-style request: http://s3.amazonaws.com/yourbucket/yourobject. Note that this property will be set to false, in case of an S3 based custom service when the CustomURL is specified.
15.1.3. AWS Authentication
Property
Description
AWSAccessKey
Your AWS account access key. This value is accessible from your AWS security credentials page.
AWSSecretKey
Your AWS account secret key. This value is accessible from your AWS security credentials page.
AWSRoleARN
The Amazon Resource Name of the role to use when authenticating.
AWSPrincipalArn
The ARN of the SAML Identity provider in your AWS account.
AWSRegion
The hosting region for your Amazon Web Services.
AWSSessionToken
Your AWS session token.
MFASerialNumber
The serial number of the MFA device if one is being used.
MFAToken
The temporary token available from your MFA device.
15.1.4. Azure Authentication
Property
Description
AzureStorageAccount
The name of your Azure storage account.
AzureAccessKey
The storage key associated with your CSV account.
AzureSharedAccessSignature
A shared access key signature that may be used for authentication.
AzureTenant
The Microsoft Online tenant being used to access data. If not specified, your default tentant will be used.
AzureEnvironment
The Azure Environment to use when establishing a connection.
15.1.5. SSO
Property
Description
SSOLoginURL
The identity provider's login URL.
SSOProperties
Additional properties required to connect to the identity provider in a semicolon-separated list.
15.1.6. OAuth
Property
Description
InitiateOAuth
Set this property to initiate the process to obtain or refresh the OAuth access token when you connect.
OAuthVersion
The version of OAuth being used.
OAuthClientId
The client ID assigned when you register your application with an OAuth authorization server.
OAuthClientSecret
The client secret assigned when you register your application with an OAuth authorization server.
OAuthAccessToken
The access token for connecting using OAuth.
OAuthAccessTokenSecret
The OAuth access token secret for connecting using OAuth.
OAuthSettingsLocation
The location of the settings file where OAuth values are saved when InitiateOAuth is set to GETANDREFRESH or REFRESH. Alternatively, this can be held in memory by specifying a value starting with memory://.
CallbackURL
The OAuth callback URL to return to when authenticating. This value must match the callback URL you specify in your app settings.
OAuthGrantType
The grant type for the OAuth flow.
OAuthPasswordGrantMode
How to pass Client ID and Secret with OAuthGrantType is set to Password.
OAuthIncludeCallbackURL
Whether to include the callback URL in an access token request.
OAuthAuthorizationURL
The authorization URL for the OAuth service.
OAuthAccessTokenURL
The URL to retrieve the OAuth access token from.
OAuthRefreshTokenURL
The URL to refresh the OAuth token from.
OAuthRequestTokenURL
The URL the service provides to retrieve request tokens from. This is required in OAuth 1.0.
OAuthVerifier
The verifier code returned from the OAuth authorization URL.
AuthToken
The authentication token used to request and obtain the OAuth Access Token.
AuthKey
The authentication secret used to request and obtain the OAuth Access Token.
OAuthParams
A comma-separated list of other parameters to submit in the request for the OAuth access token in the format paramname=value.
OAuthRefreshToken
The OAuth refresh token for the corresponding OAuth access token.
OAuthExpiresIn
The lifetime in seconds of the OAuth AccessToken.
OAuthTokenTimestamp
The Unix epoch timestamp in milliseconds when the current Access Token was created.
15.1.7. JWT OAuth
Property
Description
OAuthJWTCert
The JWT Certificate store.
OAuthJWTCertType
The type of key store containing the JWT Certificate.
OAuthJWTCertPassword
The password for the OAuth JWT certificate.
OAuthJWTCertSubject
The subject of the OAuth JWT certificate.
OAuthJWTIssuer
The issuer of the Java Web Token.
OAuthJWTSubject
The user subject for which the application is requesting delegated access.
15.1.8. Kerberos
Property
Description
KerberosKDC
The Kerberos Key Distribution Center (KDC) service used to authenticate the user.
KerberosRealm
The Kerberos Realm used to authenticate the user with.
KerberosSPN
The service principal name (SPN) for the Kerberos Domain Controller.
KerberosKeytabFile
The Keytab file containing your pairs of Kerberos principals and encrypted keys.
KerberosServiceRealm
The Kerberos realm of the service.
KerberosServiceKDC
The Kerberos KDC of the service.
KerberosTicketCache
The full file path to an MIT Kerberos credential cache file.
15.1.9. SSL
Property
Description
SSLClientCert
The TLS/SSL client certificate store for SSL Client Authentication (2-way SSL).
SSLClientCertType
The type of key store containing the TLS/SSL client certificate.
SSLClientCertPassword
The password for the TLS/SSL client certificate.
SSLClientCertSubject
The subject of the TLS/SSL client certificate.
SSLMode
The authentication mechanism to be used when connecting to the FTP or FTPS server.
SSLServerCert
The certificate to be accepted from the server when connecting using TLS/SSL.
15.1.10. SSH
Property
Description
SSHAuthMode
The authentication method to be used to log on to an SFTP server.
SSHClientCert
A certificate to be used for authenticating the user.
SSHClientCertPassword
The password of the SSHClientCert certificate if it has one.
SSHClientCertType
The type of SSHClientCert certificate.
15.1.11. Firewall
Property
Description
FirewallType
The protocol used by a proxy-based firewall.
FirewallServer
The name or IP address of a proxy-based firewall.
FirewallPort
The TCP port for a proxy-based firewall.
FirewallUser
The user name to use to authenticate with a proxy-based firewall.
FirewallPassword
A password used to authenticate to a proxy-based firewall.
15.1.12. Proxy
Property
Description
ProxyAutoDetect
This indicates whether to use the system proxy settings or not. This takes precedence over other proxy settings, so you'll need to set ProxyAutoDetect to FALSE in order use custom proxy settings.
ProxyServer
The hostname or IP address of a proxy to route HTTP traffic through.
ProxyPort
The TCP port the ProxyServer proxy is running on.
ProxyAuthScheme
The authentication type to use to authenticate to the ProxyServer proxy.
ProxyUser
A user name to be used to authenticate to the ProxyServer proxy.
ProxyPassword
A password to be used to authenticate to the ProxyServer proxy.
ProxySSLType
The SSL type to use when connecting to the ProxyServer proxy.
ProxyExceptions
A semicolon separated list of destination hostnames or IPs that are exempt from connecting through the ProxyServer .
15.1.13. Logging
Property
Description
Logfile
A filepath which designates the name and location of the log file.
Verbosity
The verbosity level that determines the amount of detail included in the log file.
LogModules
Core modules to be included in the log file.
MaxLogFileSize
A string specifying the maximum size in bytes for a log file (for example, 10 MB).
MaxLogFileCount
A string specifying the maximum file count of log files.
15.1.14. Schema
Property
Description
Location
A path to the directory that contains the schema files defining tables, views, and stored procedures.
BrowsableSchemas
This property restricts the schemas reported to a subset of the available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC.
Tables
This property restricts the tables reported to a subset of the available tables. For example, Tables=TableA,TableB,TableC.
Views
Restricts the views reported to a subset of the available tables. For example, Views=ViewA,ViewB,ViewC.
SchemaIniLocation
A path to the directory that contains the schema.ini file.
AggregateFiles
When set to true, the provider will aggregate all of the files located in the URI directory into a single table called AggregatedFiles .
MetadataDiscoveryURI
Used together with AggregateFiles , this property specifies a specific file to read the schema of the AggregatedFiles result set.
TypeDetectionScheme
Determines how to determine the data types of columns.
ColumnCount
The number of columns to detect when dynamically determining columns for the table.
RowScanDepth
The number of rows to scan when dynamically determining columns for the table.
15.1.15. Caching
Property
Description
AutoCache
Automatically caches the results of SELECT queries into a cache database specified by either CacheLocation or both of CacheConnection and CacheProvider .
CacheDriver
The database driver to be used to cache data.
CacheConnection
The connection string for the cache database. This property is always used in conjunction with CacheProvider . Setting both properties will override the value set for CacheLocation for caching data.
CacheLocation
Specifies the path to the cache when caching to a file.
CacheTolerance
The tolerance for stale data in the cache specified in seconds when using AutoCache .
Offline
Use offline mode to get the data from the cache instead of the live source.
CacheMetadata
This property determines whether or not to cache the table metadata to a file store.
15.1.16. Data Formatting
Property
Description
IncludeColumnHeaders
Whether to get column names from the first line of the specified files.
FMT
The format to be used to parse all text files.
ExtendedProperties
The Microsoft Jet OLE DB 4.0-compatible extended properties for text files.
RowDelimiter
The character which will be used to detect the end of a CSV row.
SkipTop
Skips the amount of rows specified starting from the top.
IgnoreBlankRows
Indicates whether to skip the empty rows.
IncludeEmptyHeaders
Whether to include empty value for a column name within column header.
SkipHeaderComments
If set to true, skips rows at the top of the file beginning with #.
Charset
Specifies the session character set for encoding and decoding character data transferred to and from the CSV file. The default value is UTF-8.
QuoteEscapeCharacter
Determines the character which will be used to escape quotes.
QuoteCharacter
Determines the character which will be used to quote values.
TrimSpaces
Set to True if you want the provider to trim preceeding and trailing spaces in a cell containing a quoted value.
PushEmptyValuesAsNull
Indicates whether to read the empty values as empty or as null.
NullValues
A comma separated list which will be replaced with nulls if there are found in the CSV file.
PathSeparator
Determines the character which will be used to replace the file separator.
IgnoreIncompleteRows
Indicates whether to ignore incomplete rows.
MaxCellLength
Max length a cell can hold, after passing this number the cell content will get truncated. If value is -1 then we don't limit the cell content length.
15.1.17. Miscellaneous
Property
Description
BatchSize
The maximum size of each batch operation to submit.
ClientCulture
This property can be used to specify the format of data (e.g., currency values) that is accepted by the client application. This property can be used when the client application does not support the machine's culture settings. For example, Microsoft Access requires 'en-US'.
ConnectionLifeTime
The maximum lifetime of a connection in seconds. Once the time has elapsed, the connection object is disposed.
ConnectOnOpen
This property species whether to connect to the CSV when the connection is opened.
Culture
This setting can be used to specify culture settings that determine how the provider interprets certain data types that are passed into the provider. For example, setting Culture='de-DE' will output German formats even on an American machine.
CustomHeaders
Other headers as determined by the user (optional).
CustomUrlParams
The custom query string to be included in the request.
DirectoryRetrievalDepth
Limit the subfolders recursively scanned when IncludeSubdirectories is enabled.
ExcludeFileExtensions
Set to true if file extensions should be excluded from table names.
ExcludeFiles
Comma-separated list of file extensions to exclude from the set of the files modeled as tables.
GenerateSchemaFiles
Indicates the user preference as to when schemas should be generated and saved.
IncludeDropboxTeamResources
Indicates if you want to include Dropbox team files and folders.
IncludeFiles
Comma-separated list of file extensions to include into the set of the files modeled as tables.
IncludeSubdirectories
Whether to read files from nested folders. In the case of a name collision, table names are prefixed by the underscore-separated folder names.
InsertMode
Specifies the mode for inserting data into CSV files.
MaxRows
Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time.
Other
These hidden properties are used only in specific use cases.
Pagesize
The maximum number of results to return per page from CSV.
PoolIdleTimeout
The allowed idle time for a connection before it is closed.
PoolMaxSize
The maximum connections in the pool.
PoolMinSize
The minimum number of connections in the pool.
PoolWaitTime
The max seconds to wait for an available connection.
PseudoColumns
This property indicates whether or not to include pseudo columns as columns to the table.
Readonly
You can use this property to enforce read-only access to CSV from the provider.
RTK
The runtime key used for licensing.
SupportEnhancedSQL
This property enhances SQL functionality beyond what can be supported through the API directly, by enabling in-memory client-side processing.
Timeout
The value in seconds until the timeout error is thrown, canceling the operation.
TruncateOnInserts
Set to True if you want the provider to truncate on every (batch) insert.
UseConnectionPooling
This property enables connection pooling.
UseRowNumbers
Set this to true if you are deleting or updating in CSV and you do not want to specify a custom schema. This will create a new column with the name RowNumber which will be used as key for that table.