1010Data Insights Platform .NET SDK
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
TenTenSDK.Table Class Reference

A representation of data–either a query result or an actual table. More...

Inheritance diagram for TenTenSDK.Table:

Public Member Functions

 Table (Table t)
 Copy constructor. More...
 
void Dispose ()
 Do nothing; disposing of the Cache here is too soon.
 
Table Subset (Column.Computation< bool > predicate)
 Creates a new table with a subset of Columns (Policies references will match). More...
 
delegate bool ColumnPredicate (Column c)
 Delegate for basic predicate on columns.
 
Table Subset (ColumnPredicate predicate)
 Creates a new table with a subset of Columns (Policies references will match). More...
 
DataTable CrossSection (long offset, long rows)
 Grabs a cross section of the table. More...
 

Static Public Member Functions

static operator DataTable (Table t)
 Grabs the entire Table into a DataTable. More...
 

Public Attributes

readonly Query Source
 Query that this Table is the result of.
 
readonly Session HostSession
 Session this Table was generated by.
 

Properties

ColumnSet Columns [get]
 Columns of the table.
 
RowSet Rows [get]
 Rows of the table.
 

Detailed Description

A representation of data–either a query result or an actual table.

Constructor & Destructor Documentation

TenTenSDK.Table.Table ( Table  t)
inline

Copy constructor.

Parameters
tTable to copy.

Member Function Documentation

Table TenTenSDK.Table.Subset ( Column.Computation< bool >  predicate)
inline

Creates a new table with a subset of Columns (Policies references will match).

Parameters
predicateComputation used to determine which columns to keep (true=keep).
Returns
A new table with the given columns.
Table TenTenSDK.Table.Subset ( ColumnPredicate  predicate)
inline

Creates a new table with a subset of Columns (Policies references will match).

Parameters
predicateComputation used to determine which columns to keep (true=keep).
Returns
A new table with the given columns.
DataTable TenTenSDK.Table.CrossSection ( long  offset,
long  rows 
)
inline

Grabs a cross section of the table.

Parameters
offsetRow offset of data to get.
rowsHow many rows to get.
Returns
A DataTable with the given rows.
static TenTenSDK.Table.operator DataTable ( Table  t)
inlineexplicitstatic

Grabs the entire Table into a DataTable.

Returns
A DataTable with all the rows of this table within it.

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