dataProfileColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | data type=string; maxLen=128Name under which the column is exposed to Oracle APEX components. If the data profile is part of a Data Load Definition, this name is used to map data profile columns to the target table. For instance, the ENAME data profile column will be loaded to the ENAME column of the target table. If the profile column does not exist in the target table, it will be ignored during data load. |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | data type=number; maxLen=22 | |
type | enum | Yes | data | data type=string; lov=STATICValid values: data lookup sqlExpression sqlQuery |
lineNumber | boolean | Yes | false | data type=booleanApplies when type = data |
dataType | enum | Yes | data type=string; lov=STATICValid values: varchar2 number date timestamp timestampWithLocalTimeZone timestampWithTimeZone clob boolean blob geometrySdoGeometry array jsonDocumentApplies when type = data and lineNumber = false | |
maxLength | integer | Yes | 4000 | data type=integer; maxLen=5Applies when type = data and lineNumber = false and dataType = varchar2 |
primaryKey | boolean | Yes | false | data type=booleanDetermines whether this is a primary key column. A primary key can consist of multiple columns. |
source {
sequence: 42
type: data
lineNumber: false
dataType: varchar2
maxLength: 42
primaryKey: false
}parsing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectorType | enum | Yes | name | data type=string; lov=STATICValid values: name sequence regexpApplies when type = data and format in (csv)type = data and format in (xlsx) |
selector | string | Yes | data type=string; maxLen=255Applies when type = data and format in (csv) and selectorType in (name)type = data and format in (csv) and selectorType in (regexp)type = data and format in (xlsx) and selectorType in (name)type = data and format in (xlsx) and selectorType in (regexp) | |
columnNumber | integer | Yes | data type=integer; maxLen=32767Applies when type = data and format in (csv) and selectorType = sequencetype = data and format in (xlsx) and selectorType = sequence | |
pathExpression | string | Yes | data type=string; maxLen=255Applies when format in (json) and type = data and lineNumber = falseformat in (xml) and type = data and lineNumber = false | |
formatMask | string | No | data type=string; maxLen=255Applies when type = data and lineNumber = false and dataType in (number)type = data and lineNumber = false and dataType in (date)type = data and lineNumber = false and dataType in (timestamp)type = data and lineNumber = false and dataType in (timestampWithTimeZone)type = data and lineNumber = false and dataType in (timestampWithLocalTimeZone) | |
hasTimeZone | boolean | Yes | true | data type=booleanApplies when type = data and lineNumber = false and dataType in (date)type = data and lineNumber = false and dataType in (timestamp)type = data and lineNumber = false and dataType in (timestampWithTimeZone)type = data and lineNumber = false and dataType in (timestampWithLocalTimeZone) |
decimalChar | string | No | data type=string; maxLen=1Applies when type = data and lineNumber = false and dataType = number | |
groupChar | string | No | data type=string; maxLen=1Applies when type = data and lineNumber = false and dataType = number |
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlExpression | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = sqlExpressionEnter the SQL Expression to compute the value of this column. The SQL expression can reference data profile columns of the Data column type. | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=4000Applies when type = sqlQueryEnter the SQL Query to compute the value of this column. The SQL query must return a single value and can reference data profile columns of the Data column type. |
computation {
sqlExpression: ```sql
value
```
sqlQuery: ```sql
value
```
}lookup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | data type=string; maxLen=32767Applies when type = lookup | |
tableName | string | Yes | data type=string; maxLen=128Applies when type = lookup | |
returnColumn | string | Yes | data type=string; maxLen=32767Applies when type = lookup | |
whereClause | multiline string | No | data type=multiline string; maxLen=4000Applies when type = lookup | |
tableColumn1 | string | Yes | data type=string; maxLen=32767Applies when type = lookup | |
dataColumn1 | string | Yes | data type=string; maxLen=32767Applies when type = lookup | |
tableColumn2 | string | No | data type=string; maxLen=32767Applies when type = lookup and tableColumn1 is set | |
dataColumn2 | string | Yes | data type=string; maxLen=32767Applies when type = lookup and tableColumn1 is set and tableColumn2 is set | |
tableColumn3 | string | No | data type=string; maxLen=32767Applies when type = lookup and tableColumn1 is set and tableColumn2 is set | |
dataColumn3 | string | Yes | data type=string; maxLen=32767Applies when type = lookup and tableColumn1 is set and tableColumn2 is set and tableColumn3 is set |
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```sql
value
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}transformation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | data type=string; lov=STATICValid values: leftTrim rightTrim trim replace lower upper nullIf regexpReplace regexpNullIfApplies when type = data and lineNumber = false | |
trimChars | string | No | data type=string; maxLen=4000Applies when type = data and lineNumber = false and type in (leftTrim)type = data and lineNumber = false and type in (rightTrim)type = data and lineNumber = false and type in (trim) | |
find | string | Yes | data type=string; maxLen=4000Applies when type = data and lineNumber = false and type = replace | |
regexp | string | Yes | data type=string; maxLen=4000Applies when type = data and lineNumber = false and type in (regexpReplace)type = data and lineNumber = false and type in (regexpNullIf) | |
replaceWith | string | No | data type=string; maxLen=4000Applies when type = data and lineNumber = false and type in (replace)type = data and lineNumber = false and type in (regexpReplace) | |
value | string | Yes | data type=string; maxLen=4000Applies when type = data and lineNumber = false and type = nullIf |
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | data type=string; maxLen=255 |
advanced {
staticId: value
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
dataProfileColumn sample (
columnName: value
source {
sequence: 42
type: data
lineNumber: false
dataType: varchar2
maxLength: 42
primaryKey: false
}
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation {
sqlExpression: ```sql
value
```
sqlQuery: ```sql
value
```
}
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```sql
value
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced {
staticId: value
}
comments {
comments: ```
value
```
}
)