get_records_by_series
- get_records_by_series(
table_name: string,
world_table_name: string,
offset?: number,
limit?: number,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<GetRecordsBySeriesResponse>Parameters
- table_name: string
Name of the table or view for which series/tracks will be fetched, in [schema_name.]table_name format, using standard name resolution rules.
- world_table_name: string
Name of the table containing the complete series/track information to be returned for the tracks present in the
table_name, in [schema_name.]table_name format, using standard name resolution rules. Typically this is used when retrieving series/tracks from a view (which contains partial series/tracks) but the user wants to retrieve the entire original series/tracks. Can be blank. Optionaloffset: numberA positive integer indicating the number of initial series/tracks to skip (useful for paging through the results).
Optionallimit: numberA positive integer indicating the maximum number of series/tracks to be returned. Or END_OF_SET (-9999) to indicate that the max number of results should be returned.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GetRecordsBySeriesResponse>
Promise<Types.GetRecordsBySeriesResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10302
- table_name: string
get_records_by_series_request
- get_records_by_series_request(
request: GetRecordsBySeriesRequest,
callback?: GPUdbCallback,
): Promise<GetRecordsBySeriesResponse>Retrieves the complete series/track records from the given
world_table_namebased on the partial track information contained in thetable_name.This operation supports paging through the data via the
offsetandlimitparameters.In contrast to
get_recordsthis returns records grouped by series/track. So ifoffsetis 0 andlimitis 5 this operation would return the first 5 series/tracks intable_name. Each series/track will be returned sorted by their TIMESTAMP column.Parameters
- request: GetRecordsBySeriesRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<GetRecordsBySeriesResponse>
Promise<Types.GetRecordsBySeriesResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:10257
- request: GetRecordsBySeriesRequest
Retrieves the complete series/track records from the given
world_table_namebased on the partial track information contained in thetable_name.This operation supports paging through the data via the
offsetandlimitparameters.In contrast to
get_recordsthis returns records grouped by series/track. So ifoffsetis 0 andlimitis 5 this operation would return the first 5 series/tracks intable_name. Each series/track will be returned sorted by their TIMESTAMP column.