1010data .NET SDK
TenTenSDK.Query Class Reference

Represents a query to be performed on the 1010data Insights Platform. More...

Public Member Functions

 Query (String path, String ops)
 Constructs a query. More...
 
 Query (String ops)
 Constructs a query. More...
 
Query Rebase (String path)
 Copy the query to run against a different table. More...
 
Table RunOn (Session session)
 Runs the query on the given session. More...
 

Static Public Member Functions

static Query QueryTable (String path)
 Creates a query that accesses a table. More...
 

Public Attributes

readonly String Ops
 The operations for this query.
 
readonly String BasePath
 Table path to run this query on when no path is given.
 

Properties

Table Results [get, set]
 Returns a copy of the most recent run results with a frehs local cache.
 

Detailed Description

Represents a query to be performed on the 1010data Insights Platform.

Constructor & Destructor Documentation

TenTenSDK.Query.Query ( String  path,
String  ops 
)

Constructs a query.

Parameters
pathThe table path
opsOperations (XML) of the query.
TenTenSDK.Query.Query ( String  ops)

Constructs a query.

Parameters
opsOperations (XML) of the query.

Member Function Documentation

static Query TenTenSDK.Query.QueryTable ( String  path)
static

Creates a query that accesses a table.

Parameters
pathof the table to run the query on
Returns
A query that, when run, gets all the data in the table.
Query TenTenSDK.Query.Rebase ( String  path)

Copy the query to run against a different table.

Parameters
pathThe path of the table to use instead of BasePath
Returns
A new Query using path but this.Ops.
Table TenTenSDK.Query.RunOn ( Session  session)

Runs the query on the given session.

Parameters
sessionWhat session to run the query on.
Returns
Table representing the query results.

References TenTenSDK.Session.RunQuery().