Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
description | Yes | - | No | Name of the credential object. | "Content Type Detector" |
properties | Yes | - | No | Configuration object | |
Ignore Delete Jobs | No | True | No | Option to skip delete jobs. | TRUE |
Fetch file | No | False | No | Select if you need to fetch file. | FALSE |
Use default document path | No | True | No | Select so that Aspire will use the fetchUrl or displayUrl as the location of the file. | FALSE |
Document fetch path | Yes | No | Location in the Aspire document of the path to the file to fetch. | "/doc/fetchUrl" | |
Max Lookahead in MBytes for type detection | Yes | 0.5 | No | Maximum to consume the file stream to detect the type. | 0.5 |
Max percent of column variability to allow in text separated files | Yes | 0 | No | Maximum percentage of variability to allow in the number of columns. | 0 |
Apache Tika configuration path | No | None | No | Path for Apache Tika configuration file. | "/path/to/tikaConfig.xml" |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "description": "Content Type Detector", "properties": { "ignoreDeleteJobs": true, "enableFetchUrl": false, "fetchPath": "/doc/fetchUrl", "maxLookaheadSize": 0.5, "variabilityPercent": 0, "tikaConfig": "/path/to/tikaConfig.xml" } } |
Field | Required | Default | Multiple | Notes | Example |
---|---|---|---|---|---|
description | Yes | - | No | Name of the credential object. | "Content Type Detector" |
properties | Yes | - | No | Configuration object | |
properties | Yes | - | No | Configuration object | |
Ignore Delete Jobs | No | True | No | Option to skip delete jobs. | TRUE |
Fetch file | No | False | No | Select if you need to fetch file. | FALSE |
Use default document path | No | True | No | Select so that Aspire will use the fetchUrl or displayUrl as the location of the file. | FALSE |
Document fetch path | Yes | No | Location in the Aspire document of the path to the file to fetch. | "/doc/fetchUrl" | |
Max Lookahead in MBytes for type detection | Yes | 0.5 | No | Maximum to consume the file stream to detect the type. | 0.5 |
Max percent of column variability to allow in text separated files | Yes | 0 | No | Maximum percentage of variability to allow in the number of columns. | 0 |
Apache Tika configuration path | No | None | No | Path for Apache Tika configuration file. | "/path/to/tikaConfig.xml" |
Code Block | ||||
---|---|---|---|---|
| ||||
{
"description": "Content Type Detector",
"properties": {
"ignoreDeleteJobs": true,
"enableFetchUrl": true,
"defaultFetchPath": true,
"fetchPath": true
"fetchPath": "/doc/fetchUrl",
"maxLookaheadSize": 0.5,
"variabilityPercent": 0,
"tikaConfig": "/path/to/tikaConfig.xml"
}
} |