sourceQuery
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | data type=string; maxLen=255Name of this report query source. | |
sequence | integer | Yes | data type=integer; maxLen=32767 |
dataLoop
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | data type=string; maxLen=255 |
dataLoop {
name: value
}source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | data type=string; lov=STATICValid values: localDatabase restEnabledSql restSource jsonDualityView jsonSource sampleData |
remoteServer | reference | Yes | data type=reference; lov=COMPONENT; references=restEnabledSqlDatabaseApplies when location = restEnabledSql | |
sampleData | enum | Yes | data type=string; lov=STATICValid values: employees tasks products projectsApplies when location = sampleData | |
type | enum | Yes | tableView | data type=string; lov=STATICValid values: tableView sqlQuery functionBody propertyGraphApplies when location in (localDatabase)location in (restEnabledSql) |
tableOwner | string | No | data type=string; maxLen=32767Applies when location in (localDatabase) and type = tableViewlocation in (restEnabledSql) and type = tableView | |
tableName | string | Yes | data type=string; maxLen=128Applies when location in (localDatabase) and type = tableViewlocation in (restEnabledSql) and type = tableView | |
whereClause | multiline string | No | data type=multiline string; maxLen=4000Applies when location in (localDatabase) and type = tableViewlocation in (restEnabledSql) and type = tableView | |
graphOwner | string | No | data type=string; maxLen=32767Applies when location in (localDatabase) and type = propertyGraphlocation in (restEnabledSql) and type = propertyGraph | |
graphName | string | Yes | data type=string; maxLen=32767Applies when location in (localDatabase) and type = propertyGraphlocation in (restEnabledSql) and type = propertyGraph | |
matchClause | multiline string | Yes | data type=multiline string; maxLen=4000Applies when location in (localDatabase) and type = propertyGraphlocation in (restEnabledSql) and type = propertyGraph | |
columnsClause | multiline string | Yes | data type=multiline string; maxLen=4000Applies when location in (localDatabase) and type = propertyGraphlocation in (restEnabledSql) and type = propertyGraph | |
whereClause | multiline string | No | data type=multiline string; maxLen=4000Applies when location in (localDatabase) and type = propertyGraphlocation in (restEnabledSql) and type = propertyGraph | |
orderByClause | multiline string | No | data type=multiline string; maxLen=255Applies when location in (localDatabase) and type = tableViewlocation in (restEnabledSql) and type = tableView | |
orderByClause | multiline string | No | data type=multiline string; maxLen=255Applies when location in (localDatabase) and type = propertyGraphlocation in (restEnabledSql) and type = propertyGraph | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location in (localDatabase) and type = sqlQuerylocation in (restEnabledSql) and type = sqlQuerySpecify the SQL Query to define the report query:
select [col1], [col2], [col3], ... from ... where ... order by ...When the Report Query returns JSON and one or more columns are in a JSON format, then such columns can be aliased to indicate that the JSON value must not be encoded as a string in the resulting document:
select [col1], [col2] as "{}[col2]", ...
from ...
| |
language | enum | Yes | plsql | data type=string; lov=STATICValid values: plsql javaScript-mleApplies when location in (localDatabase) and type = functionBodylocation in (restEnabledSql) and type = functionBody |
plsqlFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location in (localDatabase) and type = functionBody and language = plsqllocation in (restEnabledSql) and type = functionBody and language = plsql | |
javaScriptFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location in (localDatabase) and type = functionBody and language = javaScript-mlelocation in (restEnabledSql) and type = functionBody and language = javaScript-mle | |
restSource | reference | Yes | data type=reference; lov=COMPONENT; references=restDataSourceApplies when location = restSource | |
jsonDualityView | reference | Yes | data type=reference; lov=COMPONENT; references=jsonDualityViewApplies when location = jsonDualityView | |
jsonSource | reference | Yes | data type=reference; lov=COMPONENT; references=jsonSourceApplies when location = jsonSource | |
optimizerHint | string | No | data type=string; maxLen=255Applies when location in (localDatabase)location in (restEnabledSql)location in (restSource)location in (jsonDualityView)location in (jsonSource) |
source {
location: localDatabase
remoteServer: @component
sampleData: employees
type: tableView
tableOwner: value
tableName: value
whereClause: ```sql
value
```
graphOwner: value
graphName: value
matchClause: ```
value
```
columnsClause: ```
value
```
orderByClause: ```sql
value
```
sqlQuery: ```sql
value
```
language: plsql
plsqlFunctionBody: ```plsql
value
```
javaScriptFunctionBody: ```javascript-mle
value
```
restSource: @component
jsonDualityView: @component
jsonSource: @component
optimizerHint: value
}dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | reference | No | data type=reference; lov=COMPONENT; references=dataProfileColumnApplies when location = restSource and restSource supports HAS_ARRAY_COLUMNS | |
nestedRows | reference | No | data type=reference; lov=COMPONENT; references=dataProfileColumnApplies when location = jsonDualityView and jsonDualityView supports HAS_ARRAY_COLUMNS | |
nestedRows | reference | No | data type=reference; lov=COMPONENT; references=dataProfileColumnApplies when location = jsonSource and jsonSource supports HAS_ARRAY_COLUMNS |
dataProfile {
nestedRows: @component
}restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | data type=booleanApplies when location = restSource and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNSlocation = restSource and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNSlocation = restSource and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED |
restSynchronization {
useLocalTable: false
}externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | data type=booleanApplies when location = restSource and restSource is set and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS and useLocalTable in (false)location = restSource and restSource is set and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS and useLocalTable in ($NULL$)location = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNS and useLocalTable in (false)location = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNS and useLocalTable in ($NULL$)location = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED and useLocalTable in (false)location = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED and useLocalTable in ($NULL$) |
filter | multiline string | No | data type=multiline string; maxLen=4000Applies when location = restSource and restSource is set and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS and useLocalTable in (false) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS and useLocalTable in ($NULL$) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNS and useLocalTable in (false) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNS and useLocalTable in ($NULL$) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED and useLocalTable in (false) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED and useLocalTable in ($NULL$) and enabled = true | |
orderBy | multiline string | No | data type=multiline string; maxLen=255Applies when location = restSource and restSource is set and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS and useLocalTable in (false) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS and useLocalTable in ($NULL$) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNS and useLocalTable in (false) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and restSource supports HAS_SYNC_ALL_ARRAY_COLUMNS and useLocalTable in ($NULL$) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED and useLocalTable in (false) and enabled = truelocation = restSource and restSource is set and restSource supports HAS_ARRAY_COLUMNS and nestedRows supports IS_SYNCED and useLocalTable in ($NULL$) and enabled = true |
externalFilterAndOrderBy {
enabled: false
filter: ```
value
```
orderBy: ```
value
```
}localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | data type=string; lov=STATICValid values: whereOrderByClause sqlQuery plsqlFunctionBodyApplies when location = restSource and restSource is set | |
whereClause | multiline string | No | data type=multiline string; maxLen=4000Applies when location = restSource and restSource is set and type = whereOrderByClause | |
orderByClause | multiline string | No | data type=multiline string; maxLen=255Applies when location = restSource and restSource is set and type = whereOrderByClause | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = restSource and restSource is set and type = sqlQuery | |
language | enum | Yes | plsql | data type=string; lov=STATICValid values: plsql javaScript-mleApplies when location = restSource and restSource is set and type = plsqlFunctionBody |
plsqlFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = restSource and restSource is set and type = plsqlFunctionBody and language = plsql | |
javaScriptFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = restSource and restSource is set and type = plsqlFunctionBody and language = javaScript-mle | |
type | enum | No | data type=string; lov=STATICValid values: whereOrderByClause sqlQuery plsqlFunctionBodyApplies when location = jsonDualityView and jsonDualityView is set | |
whereClause | multiline string | No | data type=multiline string; maxLen=4000Applies when location = jsonDualityView and jsonDualityView is set and type = whereOrderByClause | |
orderByClause | multiline string | No | data type=multiline string; maxLen=255Applies when location = jsonDualityView and jsonDualityView is set and type = whereOrderByClause | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = jsonDualityView and jsonDualityView is set and type = sqlQuery | |
language | enum | Yes | plsql | data type=string; lov=STATICValid values: plsql javaScript-mleApplies when location = jsonDualityView and jsonDualityView is set and type = plsqlFunctionBody |
plsqlFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = jsonDualityView and jsonDualityView is set and type = plsqlFunctionBody and language = plsql | |
javaScriptFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = jsonDualityView and jsonDualityView is set and type = plsqlFunctionBody and language = javaScript-mle | |
type | enum | No | data type=string; lov=STATICValid values: whereOrderByClause sqlQuery plsqlFunctionBodyApplies when location = jsonSource and jsonSource is set | |
whereClause | multiline string | No | data type=multiline string; maxLen=4000Applies when location = jsonSource and jsonSource is set and type = whereOrderByClause | |
orderByClause | multiline string | No | data type=multiline string; maxLen=255Applies when location = jsonSource and jsonSource is set and type = whereOrderByClause | |
sqlQuery | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = jsonSource and jsonSource is set and type = sqlQuery | |
language | enum | Yes | plsql | data type=string; lov=STATICValid values: plsql javaScript-mleApplies when location = jsonSource and jsonSource is set and type = plsqlFunctionBody |
plsqlFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = jsonSource and jsonSource is set and type = plsqlFunctionBody and language = plsql | |
javaScriptFunctionBody | multiline string | Yes | data type=multiline string; maxLen=32767Applies when location = jsonSource and jsonSource is set and type = plsqlFunctionBody and language = javaScript-mle |
localPostProcessing {
type: whereOrderByClause
whereClause: ```sql
value
```
orderByClause: ```sql
value
```
sqlQuery: ```sql
value
```
language: plsql
plsqlFunctionBody: ```plsql
value
```
javaScriptFunctionBody: ```javascript-mle
value
```
}remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | data type=string; lov=STATICValid values: allUsers user sessionApplies when location = restEnabledSql | |
timeout | multiline string | Yes | data type=multiline string; maxLen=255Applies when location = restEnabledSql and caching is set |
remoteCache {
caching: allUsers
timeout: ```
value
```
}APEXlang Example
sourceQuery sample (
name: value
sequence: 42
dataLoop {
name: value
}
source {
location: localDatabase
remoteServer: @component
sampleData: employees
type: tableView
tableOwner: value
tableName: value
whereClause: ```sql
value
```
graphOwner: value
graphName: value
matchClause: ```
value
```
columnsClause: ```
value
```
orderByClause: ```sql
value
```
sqlQuery: ```sql
value
```
language: plsql
plsqlFunctionBody: ```plsql
value
```
javaScriptFunctionBody: ```javascript-mle
value
```
restSource: @component
jsonDualityView: @component
jsonSource: @component
optimizerHint: value
}
dataProfile {
nestedRows: @component
}
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy {
enabled: false
filter: ```
value
```
orderBy: ```
value
```
}
localPostProcessing {
type: whereOrderByClause
whereClause: ```sql
value
```
orderByClause: ```sql
value
```
sqlQuery: ```sql
value
```
language: plsql
plsqlFunctionBody: ```plsql
value
```
javaScriptFunctionBody: ```javascript-mle
value
```
}
remoteCache {
caching: allUsers
timeout: ```
value
```
}
)