import * as msRest from "@azure/ms-rest-js"; import * as Models from "../models"; import { TeradataConnectorContext } from "../teradataConnectorContext"; /** Class representing a TeradataTableData. */ export declare class TeradataTableData { private readonly client; /** * Create a TeradataTableData. * @param {TeradataConnectorContext} client Reference to the service client. */ constructor(client: TeradataConnectorContext); /** * This operation gets rows from a table. * @summary Get rows * @param table Name of Teradata table * @param [options] The optional parameters * @returns Promise */ getItems(table: string, options?: Models.TeradataTableDataGetItemsOptionalParams): Promise; /** * @param table Name of Teradata table * @param callback The callback */ getItems(table: string, callback: msRest.ServiceCallback): void; /** * @param table Name of Teradata table * @param options The optional parameters * @param callback The callback */ getItems(table: string, options: Models.TeradataTableDataGetItemsOptionalParams, callback: msRest.ServiceCallback): void; /** * This operation inserts a new row into a table. * @summary Insert row * @param table Name of table * @param item Row to insert into the specified table * @param [options] The optional parameters * @returns Promise */ postItem(table: string, item: { [propertyName: string]: Models.Item; }, options?: msRest.RequestOptionsBase): Promise; /** * @param table Name of table * @param item Row to insert into the specified table * @param callback The callback */ postItem(table: string, item: { [propertyName: string]: Models.Item; }, callback: msRest.ServiceCallback<{ [propertyName: string]: Models.Item; }>): void; /** * @param table Name of table * @param item Row to insert into the specified table * @param options The optional parameters * @param callback The callback */ postItem(table: string, item: { [propertyName: string]: Models.Item; }, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<{ [propertyName: string]: Models.Item; }>): void; /** * This operation deletes a row from a table. * @summary Delete row * @param table Name of table * @param id Unique identifier of the row to delete * @param [options] The optional parameters * @returns Promise */ deleteItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Name of table * @param id Unique identifier of the row to delete * @param callback The callback */ deleteItem(table: string, id: string, callback: msRest.ServiceCallback): void; /** * @param table Name of table * @param id Unique identifier of the row to delete * @param options The optional parameters * @param callback The callback */ deleteItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; /** * This operation gets a row from a table. * @summary Get row * @param table Name of Teradata table * @param id Unique identifier of the row to retrieve * @param [options] The optional parameters * @returns Promise */ getItem(table: string, id: string, options?: msRest.RequestOptionsBase): Promise; /** * @param table Name of Teradata table * @param id Unique identifier of the row to retrieve * @param callback The callback */ getItem(table: string, id: string, callback: msRest.ServiceCallback<{ [propertyName: string]: Models.Item; }>): void; /** * @param table Name of Teradata table * @param id Unique identifier of the row to retrieve * @param options The optional parameters * @param callback The callback */ getItem(table: string, id: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<{ [propertyName: string]: Models.Item; }>): void; /** * This operation updates an existing row in a table. * @summary Update row * @param table Name of table * @param id Unique identifier of the row to update * @param item Row with updated values * @param [options] The optional parameters * @returns Promise */ patchItem(table: string, id: string, item: { [propertyName: string]: Models.Item; }, options?: msRest.RequestOptionsBase): Promise; /** * @param table Name of table * @param id Unique identifier of the row to update * @param item Row with updated values * @param callback The callback */ patchItem(table: string, id: string, item: { [propertyName: string]: Models.Item; }, callback: msRest.ServiceCallback<{ [propertyName: string]: Models.Item; }>): void; /** * @param table Name of table * @param id Unique identifier of the row to update * @param item Row with updated values * @param options The optional parameters * @param callback The callback */ patchItem(table: string, id: string, item: { [propertyName: string]: Models.Item; }, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<{ [propertyName: string]: Models.Item; }>): void; } //# sourceMappingURL=teradataTableData.d.ts.map