/AWS1/CL_QSTFILESOURCE¶
A physical table type that contains the schema and upload settings for a file-based data source.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_datasourcearn TYPE /AWS1/QSTARN /AWS1/QSTARN¶
The Amazon Resource Name (ARN) for the data source.
iv_sheetindex TYPE /AWS1/QSTINTEGER /AWS1/QSTINTEGER¶
The zero-based index of the sheet to use within the file. For files that contain multiple sheets, this identifies which sheet to read. Files that contain a single sheet, or that have no concept of sheets, use sheet 0.
it_inputcolumns TYPE /AWS1/CL_QSTINPUTCOLUMN=>TT_INPUTCOLUMNLIST TT_INPUTCOLUMNLIST¶
The column schema of the file.
Optional arguments:¶
io_uploadsettings TYPE REF TO /AWS1/CL_QSTUPLOADSETTINGS /AWS1/CL_QSTUPLOADSETTINGS¶
Information about the format for the source file.
Queryable Attributes¶
DataSourceArn¶
The Amazon Resource Name (ARN) for the data source.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATASOURCEARN() |
Getter for DATASOURCEARN, with configurable default |
ASK_DATASOURCEARN() |
Getter for DATASOURCEARN w/ exceptions if field has no value |
HAS_DATASOURCEARN() |
Determine if DATASOURCEARN has a value |
UploadSettings¶
Information about the format for the source file.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPLOADSETTINGS() |
Getter for UPLOADSETTINGS |
SheetIndex¶
The zero-based index of the sheet to use within the file. For files that contain multiple sheets, this identifies which sheet to read. Files that contain a single sheet, or that have no concept of sheets, use sheet 0.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SHEETINDEX() |
Getter for SHEETINDEX |
InputColumns¶
The column schema of the file.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INPUTCOLUMNS() |
Getter for INPUTCOLUMNS, with configurable default |
ASK_INPUTCOLUMNS() |
Getter for INPUTCOLUMNS w/ exceptions if field has no value |
HAS_INPUTCOLUMNS() |
Determine if INPUTCOLUMNS has a value |