1010Data Insights Platform .NET SDK
Public Member Functions | List of all members
TenTenSDK.IDownloadPolicy Interface Reference

An interface for download policies, which is equivalent to window size. The window is the number of rows of data that buffered when the SDK requests results. More...

Inheritance diagram for TenTenSDK.IDownloadPolicy:
TenTenSDK.BasicPolicy

Public Member Functions

int NextWindow (long row)
 Report how long of a window to download during enumeration. More...
 
void ForRow (long row, ref long offset, ref int rows)
 Describes the rows to download when subscripting a specific row. More...
 

Detailed Description

An interface for download policies, which is equivalent to window size. The window is the number of rows of data that buffered when the SDK requests results.

Member Function Documentation

int TenTenSDK.IDownloadPolicy.NextWindow ( long  row)

Report how long of a window to download during enumeration.

Parameters
rowThe row to be fetched
Returns
The size of the download window to fetch

Implemented in TenTenSDK.BasicPolicy.

void TenTenSDK.IDownloadPolicy.ForRow ( long  row,
ref long  offset,
ref int  rows 
)

Describes the rows to download when subscripting a specific row.

Parameters
rowThe row that is being subscripted
offsetCurrent offset; should be changed so that offset <= row.
rowsCurrent number of rows; should be changed so that row < offset+rows.

Implemented in TenTenSDK.BasicPolicy.


The documentation for this interface was generated from the following file: