Represents abstract data query structure.
Inheritance Hierarchy
NReco.Data QNode
NReco.Data Query
Namespace: NReco.Data
Assembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
Syntax
The Query type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Query(QTable) |
Initializes a new instance of the Query with specified table
| |
Query(Query) |
Initializes a new instance of the Query with identical options of specified query
| |
Query(QTable, QNode) |
Initializes a new instance of the Query with specified table and condition
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OrderBy |
Set query sort by specified list of QSort
| |
Select |
Set query fields by specified list of field names
| |
SetVars |
Finds all QVar constants ("name":var in relex) and passes them to specified set handler.
| |
ToString |
Returns a string that represents current query in relex format
(Overrides Object ToString .) |
Properties
Name | Description | |
---|---|---|
Condition |
Query conditions tree. Can be null.
| |
ExtendedProperties |
Get or set query extended properties.
| |
Fields |
List of fields to load. Null means all available fields.
| |
Name | (Inherited from QNode.) | |
Nodes |
List of child nodes
(Overrides QNode Nodes.) | |
RecordCount |
Get or set max records count to load
| |
RecordOffset |
Get or set starting record to load
| |
Sort |
List of sort fields. Can be null.
| |
Table |
Get or set target source name of this query
|
See Also