A representation of data–either a query result or an actual table. More...
Inherits IDisposable.
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. | |
A representation of data–either a query result or an actual table.
DataTable TenTenSDK.Table.CrossSection | ( | long | offset, |
long | rows | ||
) |
Grabs a cross section of the table.
offset | Row offset of data to get. |
rows | How many rows to get. |
References TenTenSDK.Column.Information.ComponentType, TenTenSDK.Column.Info, and TenTenSDK.Column.Name.
Grabs the entire Table into a DataTable.
References TenTenSDK.RowSet.Count, TenTenSDK.Table.CrossSection(), and TenTenSDK.Table.Rows.
Table TenTenSDK.Table.Subset | ( | Column.Computation< bool > | predicate | ) |
Creates a new table with a subset of Columns (Policies references will match).
predicate | Computation used to determine which columns to keep (true=keep). |
References TenTenSDK.Column.Accept(), TenTenSDK.Column.Information.Index, and TenTenSDK.Column.Info.
Table TenTenSDK.Table.Subset | ( | ColumnPredicate | predicate | ) |
Creates a new table with a subset of Columns (Policies references will match).
predicate | Computation used to determine which columns to keep (true=keep). |
References TenTenSDK.Column.Information.Index, and TenTenSDK.Column.Info.