Job Components: `Index Route Sender API`
index.RouteSenderAPI
Used for sending data to particular index/topic/file/table in a storage system. This is used by the routed sender in the standard-assets
Table of contents
Methods
Methods
send
▸ send(records
): Promise
<number
>
Sends the records to the respective storage backend
Parameters
Name | Type |
---|---|
records | Iterable <DataEntity <Record <string , any >, _DataEntityMetadata <Record <string , any >>>> |
Returns
Promise
<number
>
the number of affected records/rows
Defined in
packages/utils/dist/src/interfaces.d.ts:13
verify
▸ verify(route?
): Promise
<void
>
This is used to verify and create an resources required for this particular route
This is optional to implement
Parameters
Name | Type |
---|---|
route? | string |
Returns
Promise
<void
>
Defined in
packages/utils/dist/src/interfaces.d.ts:20