Creates Live Table Feed
post
/data-tools/live-table-feeds/
Creates Live Table Feed
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : live-table-feed
Type:
Show Source
object
-
column_list: array
columns
-
end_date: string
A data and time of the format YYYY-MM-DDTHH24:MI:SS.FFTZH:TZMExample:
2009-08-12T07:47:21.212121000-04:00
-
job_class: string
Scheduler job classExample:
HIGH
-
live_table_feed_name: string
Example:
SALES_FEED
-
notifications: boolean
Is the Live Table Feed enabled for notifications?Example:
false
-
object_filter: string
Filter to select subset of filesExample:
*.csv
-
object_filter_type: string
Allowed Values:
[ "GLOB", "REGEX" ]
Type of matching for object_filterExample:GLOB
-
object_format: object
loader_format
SQL Loader options
-
object_type: string
Allowed Values:
[ "CSV", "JSON", "XLSX", "IMAGE", "ICEBERG" ]
-
scheduled: boolean
Is the Live Table Feed scheduler job enabled?Example:
true
-
scheduler_interval: string
DBMS_SCHEDULER interval for Live Table Feed jobExample:
FREQ=DAILY;BYHOUR=9;BYMINUTE=30;BYDAY=MON,TUE,WED,THU,FRI
-
sql_statements: array
sql_statements
SQL statements to perform database operation
-
start_date: string
A data and time of the format YYYY-MM-DDTHH24:MI:SS.FFTZH:TZMExample:
2009-08-12T07:47:21.212121000-04:00
-
storage_link_name: string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
table_name: string
Table name to loadExample:
SALES
-
table_schema: string
Database object schemaExample:
SH
Nested Schema : columns
Type:
Show Source
array
Example:
[
{
"column_name":"RECEIVED_DATE",
"datatype":"DATE",
"columnId":1,
"format":"YYYY-MM-DD"
},
{
"column_name":"UNITS",
"datatype":"NUMBER",
"columnId":2,
"length":38
}
]
Nested Schema : loader_format
Type:
object
SQL Loader options
Example:
{
"ignoreblanklines":true,
"ignoremissingcolumns":true,
"blankasnull":true,
"rejectlimit":10000,
"trimspaces":"lrtrim",
"characterset":"AL32UTF8",
"skipheaders":1
}
Nested Schema : sql_statements
Type:
array
SQL statements to perform database operation
Show Source
-
Array of:
string
SQL statement
Example:
[
"CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
Nested Schema : column
Type:
Show Source
object
-
column_expression: string
Allowed Values:
[ "FILE$NAME", "PATH$NAME", "SYSTIMESTAMP" ]
Populate this column with data about the loadExample:SYSTIMESTAMP
-
column_expression_type: string
Allowed Values:
[ "SDO_AREA", "SDO_LENGTH", "SENTIMENT", "TRANSLATION", "KEY_PHRASE_EXTRACTION", "LANGUAGE_DETECTION" ]
Populate this column intelligently from another columnExample:SDO_LENGTH
-
column_id: integer
Column position in input fileExample:
2
-
column_name: string
Column name in tableExample:
UNITS
-
data_format: string
Data format for certain column typesExample:
YYYY-MM-DD
-
data_length: integer
Length or precision of columnExample:
40
-
data_precision: integer
Precision of data for certain column typesExample:
10
-
data_scale: integer
Scale of data for certain column typesExample:
2
-
data_type: string
Allowed Values:
[ "VARCHAR2", "CLOB", "NUMBER", "INTEGER", "FLOAT", "BINARY_FLOAT", "BINARY_DOUBLE", "DATE", "TIMESTAMP", "TIMESTAMP WITH TIME ZONE", "TIMESTAMP WITH LOCAL TIME ZONE", "NVARCHAR2", "NCLOB", "BOOLEAN", "VECTOR" ]
Data type of columnExample:NUMBER
-
field_name: string
Name of column in input fileExample:
customer name
-
geojson_tolerance: number
Level of precision for GEOJSon dataExample:
0.5
-
geojson_unit: string
Unit of GEOJson data for column from SDO_UNITS_OF_MEASURE tableExample:
KM
-
merge_key: boolean
If true, use this column as a merge key for merge operations
-
primary_key: boolean
Set this column to be the primary key for the table
-
skip_column: boolean
Set to true to not load this columnExample:
false
-
source_path: string
The JSON path expression for this columnExample:
$.EmpNo
Response
Supported Media Types
- application/json
201 Response
Live Table Feeds were succesfully created
Nested Schema : live-table-feed
Type:
Show Source
object
-
column_list: array
columns
-
end_date: string
A data and time of the format YYYY-MM-DDTHH24:MI:SS.FFTZH:TZMExample:
2009-08-12T07:47:21.212121000-04:00
-
job_class: string
Scheduler job classExample:
HIGH
-
live_table_feed_name: string
Example:
SALES_FEED
-
notifications: boolean
Is the Live Table Feed enabled for notifications?Example:
false
-
object_filter: string
Filter to select subset of filesExample:
*.csv
-
object_filter_type: string
Allowed Values:
[ "GLOB", "REGEX" ]
Type of matching for object_filterExample:GLOB
-
object_format: object
loader_format
SQL Loader options
-
object_type: string
Allowed Values:
[ "CSV", "JSON", "XLSX", "IMAGE", "ICEBERG" ]
-
scheduled: boolean
Is the Live Table Feed scheduler job enabled?Example:
true
-
scheduler_interval: string
DBMS_SCHEDULER interval for Live Table Feed jobExample:
FREQ=DAILY;BYHOUR=9;BYMINUTE=30;BYDAY=MON,TUE,WED,THU,FRI
-
sql_statements: array
sql_statements
SQL statements to perform database operation
-
start_date: string
A data and time of the format YYYY-MM-DDTHH24:MI:SS.FFTZH:TZMExample:
2009-08-12T07:47:21.212121000-04:00
-
storage_link_name: string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
table_name: string
Table name to loadExample:
SALES
-
table_schema: string
Database object schemaExample:
SH
Nested Schema : columns
Type:
Show Source
array
Example:
[
{
"column_name":"RECEIVED_DATE",
"datatype":"DATE",
"columnId":1,
"format":"YYYY-MM-DD"
},
{
"column_name":"UNITS",
"datatype":"NUMBER",
"columnId":2,
"length":38
}
]
Nested Schema : loader_format
Type:
object
SQL Loader options
Example:
{
"ignoreblanklines":true,
"ignoremissingcolumns":true,
"blankasnull":true,
"rejectlimit":10000,
"trimspaces":"lrtrim",
"characterset":"AL32UTF8",
"skipheaders":1
}
Nested Schema : sql_statements
Type:
array
SQL statements to perform database operation
Show Source
-
Array of:
string
SQL statement
Example:
[
"CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
Nested Schema : column
Type:
Show Source
object
-
column_expression: string
Allowed Values:
[ "FILE$NAME", "PATH$NAME", "SYSTIMESTAMP" ]
Populate this column with data about the loadExample:SYSTIMESTAMP
-
column_expression_type: string
Allowed Values:
[ "SDO_AREA", "SDO_LENGTH", "SENTIMENT", "TRANSLATION", "KEY_PHRASE_EXTRACTION", "LANGUAGE_DETECTION" ]
Populate this column intelligently from another columnExample:SDO_LENGTH
-
column_id: integer
Column position in input fileExample:
2
-
column_name: string
Column name in tableExample:
UNITS
-
data_format: string
Data format for certain column typesExample:
YYYY-MM-DD
-
data_length: integer
Length or precision of columnExample:
40
-
data_precision: integer
Precision of data for certain column typesExample:
10
-
data_scale: integer
Scale of data for certain column typesExample:
2
-
data_type: string
Allowed Values:
[ "VARCHAR2", "CLOB", "NUMBER", "INTEGER", "FLOAT", "BINARY_FLOAT", "BINARY_DOUBLE", "DATE", "TIMESTAMP", "TIMESTAMP WITH TIME ZONE", "TIMESTAMP WITH LOCAL TIME ZONE", "NVARCHAR2", "NCLOB", "BOOLEAN", "VECTOR" ]
Data type of columnExample:NUMBER
-
field_name: string
Name of column in input fileExample:
customer name
-
geojson_tolerance: number
Level of precision for GEOJSon dataExample:
0.5
-
geojson_unit: string
Unit of GEOJson data for column from SDO_UNITS_OF_MEASURE tableExample:
KM
-
merge_key: boolean
If true, use this column as a merge key for merge operations
-
primary_key: boolean
Set this column to be the primary key for the table
-
skip_column: boolean
Set to true to not load this columnExample:
false
-
source_path: string
The JSON path expression for this columnExample:
$.EmpNo
204 Response
No content
409 Response
Name conflict with existing Live Table Feed