1010data .NET SDK
TenTenSDK.RowSet Class Reference

Collections of rows of a table. More...

Inherits IEnumerable< Row >.

Public Member Functions

Row InPlaceFetch (long row)
 Destructively retrieve the row'th row into a variable shared across calls. More...
 
Row FetchInto (long row, ref Row result)
 Destructively retrieve the row'th row into a variable shared across calls. More...
 
IEnumerator< RowGetEnumerator ()
 Retreive an enumerator for the rows of this table. More...
 
IEnumerator< RowGetEnumeratorForPolicy (IDownloadPolicy policy)
 Retreive an enumerator for the rows of this table. More...
 
IEnumerator< RowInPlaceEnumeration ()
 Retrieves an enumerator that will destructively update the underlying Row upon iteration. More...
 
IEnumerator< RowInPlaceEnumeration (IDownloadPolicy policy)
 Retrieves an enumerator that will destructively update the underlying Row upon iteration. More...
 

Properties

IDownloadPolicy Policy [get, set]
 Policy object used to decide how much information to download while subscripting or enumerating.
 
long Count [get]
 Total number of rows in the table.
 
Row this[long row] [get]
 Get a Row by index. More...
 

Detailed Description

Collections of rows of a table.

Member Function Documentation

Row TenTenSDK.RowSet.FetchInto ( long  row,
ref Row  result 
)

Destructively retrieve the row'th row into a variable shared across calls.

Parameters
rowIndex of Row to get.
resultWhere to store the row.
Returns
The row'th Row.
Exceptions
ArgumentOutOfRangeExceptionIf the index is out of range.
IEnumerator<Row> TenTenSDK.RowSet.GetEnumerator ( )

Retreive an enumerator for the rows of this table.

Returns
An enumerator for this RowSet's rows.
IEnumerator<Row> TenTenSDK.RowSet.GetEnumeratorForPolicy ( IDownloadPolicy  policy)

Retreive an enumerator for the rows of this table.

Parameters
policyObject describing how to download data during enumeration.
Returns
An enumerator for this RowSet's rows.
IEnumerator<Row> TenTenSDK.RowSet.InPlaceEnumeration ( )

Retrieves an enumerator that will destructively update the underlying Row upon iteration.

Returns
A destructive enumerator for this RowSet's rows. Note that this is safe to interleave uses of this as each call will use its own state.
IEnumerator<Row> TenTenSDK.RowSet.InPlaceEnumeration ( IDownloadPolicy  policy)

Retrieves an enumerator that will destructively update the underlying Row upon iteration.

Parameters
policyObject describing how to download data during enumeration.
Returns
A destructive enumerator for this RowSet's rows. Note that this is safe to interleave uses of this as each call will use its own state.
Row TenTenSDK.RowSet.InPlaceFetch ( long  row)

Destructively retrieve the row'th row into a variable shared across calls.

Parameters
rowIndex of Row to get.
Returns
The row'th Row.
Exceptions
ArgumentOutOfRangeExceptionIf the index is out of range.

Property Documentation

Row TenTenSDK.RowSet.this[long row]
get

Get a Row by index.

Parameters
rowIndex of the row to get.
Returns
The row'th Row of this RowSet.
Exceptions
ArgumentOutOfRangeExceptionIf the index is out of range.