![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Class handling the reception of data from a query on multiple nodes. More...
Public Member Functions | |
| CompoundQuery (string CommandId, string QueryId, object State, Language Language, IEnumerable< Query > Queries, RequestOrigin Origin) | |
| Class handling the reception of data from a query on multiple nodes. More... | |
| override async Task | Abort () |
| Aborts the query. More... | |
| int | NextSequenceNumber () |
| Gets the next sequence number. More... | |
| Task | Start () |
| Starts query execution. More... | |
| async Task | Done () |
| Query execution completed. More... | |
| Task | NewTable (string TableId, string TableName, params Column[] Columns) |
| Defines a new table in the query output. More... | |
| Task | NewRecords (string TableId, params Record[] Records) |
| Reports a new set of records in a table. More... | |
| Task | TableDone (string TableId) |
| Reports a table as being complete. More... | |
| Task | NewObject (object Object) |
| Reports a new object. More... | |
| Task | LogMessage (Exception Exception) |
| Logs an Exception as a query message. More... | |
| Task | LogMessage (QueryEventLevel Level, Exception Exception) |
| Logs an Exception as a query message. More... | |
| Task | LogMessage (QueryEventType Type, QueryEventLevel Level, string Body) |
| Logs a query message. More... | |
| Task | SetTitle (string Title) |
| Sets the title of the report. More... | |
| Task | SetStatus (string Status) |
| Sets the current status of the query execution. More... | |
| Task | BeginSection (string Header) |
| Begins a new section. Sections can be nested. Each call to BeginSection(string) must be followed by a call to EndSection(). More... | |
| Task | EndSection () |
| Ends a section. Each call to BeginSection(string) must be followed by a call to EndSection(). More... | |
| void | Information (string Comment) |
| Called to inform the viewer of something. More... | |
| void | Information (DateTime Timestamp, string Comment) |
| Called to inform the viewer of something. More... | |
| void | Warning (string Warning) |
| Called to inform the viewer of a warning state. More... | |
| void | Warning (DateTime Timestamp, string Warning) |
| Called to inform the viewer of a warning state. More... | |
| void | Error (string Error) |
| Called to inform the viewer of an error state. More... | |
| void | Error (DateTime Timestamp, string Error) |
| Called to inform the viewer of an error state. More... | |
| void | Exception (Exception Exception) |
| Called to inform the viewer of an exception state. More... | |
| void | Exception (string Exception) |
| Called to inform the viewer of an exception state. More... | |
| void | Exception (DateTime Timestamp, string Exception) |
| Called to inform the viewer of an exception state. More... | |
| void | Exception (DateTime Timestamp, Exception Exception) |
| Called to inform the viewer of an exception state. More... | |
Properties | |
| IEnumerable< Query > | Queries [get] |
| Queries More... | |
| string | CommandID [get] |
| Command ID More... | |
| string | QueryID [get] |
| Query ID More... | |
| object | State [get] |
| State object. More... | |
| Language | Language [get] |
| Language of query. More... | |
| INode | NodeReference [get] |
| Node reference. More... | |
| RequestOrigin | Origin [get] |
| Origin of request to execute the query. More... | |
| bool | IsStarted [get] |
| If the query has been started. More... | |
| bool | IsAborted [get] |
| If the query is aborted. More... | |
| bool | IsDone [get] |
| If the query is done. More... | |
| int | SequenceNumber [get] |
| Curernt sequence number counter. More... | |
| int | NrSectionsBegun [get] |
| Number of sectios begun. More... | |
| int | NrSectionsEnded [get] |
| Number of sectios ended. More... | |
| int | NrTablesStarted [get] |
| Number of tables started. More... | |
| int | NrTablesCompleted [get] |
| Number of tables compeleted. More... | |
| int | NrObjectsReported [get] |
| Number of objects reported. More... | |
| int | NrMessagesReported [get] |
| Number of messages reported. More... | |
| int | NrRecordsReported [get] |
| Number of records reported. More... | |
| int | NrTotalItemsReported [get] |
| Number of items (total) reported. More... | |
| bool | HasTitle [get] |
| If a title has been set More... | |
| bool | HasReported [get] |
| If anything has been reported. More... | |
| bool | DecoupledEvents [get] |
| If events raised from the communication layer are decoupled, i.e. executed in parallel with the source that raised them. More... | |
Events | |
| EventHandlerAsync< QueryEventArgs > | OnAborted = null |
| Event raised when the query has been aborted. More... | |
| EventHandlerAsync< QueryEventArgs > | OnStarted = null |
| Event raised when the query has been aborted. More... | |
| EventHandlerAsync< QueryEventArgs > | OnDone = null |
| Event raised when query has been completed. More... | |
| EventHandlerAsync< QueryNewTableEventArgs > | OnNewTable = null |
| Event raised when a new table has been created. More... | |
| EventHandlerAsync< QueryNewRecordsEventArgs > | OnNewRecords = null |
| Event raised when new records are reported for a table. More... | |
| EventHandlerAsync< QueryTableEventArgs > | OnTableDone = null |
| Event raised when a table is completed. More... | |
| EventHandlerAsync< QueryObjectEventArgs > | OnNewObject = null |
| Event raised when new records are reported for a table. More... | |
| EventHandlerAsync< QueryMessageEventArgs > | OnMessage = null |
| Event raised when a new message has been received. More... | |
| EventHandlerAsync< QueryTitleEventArgs > | OnTitle = null |
| Event raised when the report title has been set. More... | |
| EventHandlerAsync< QueryStatusEventArgs > | OnStatus = null |
| Event raised when the current status changes. More... | |
| EventHandlerAsync< QueryTitleEventArgs > | OnBeginSection = null |
| Event raised when a new section is created. More... | |
| EventHandlerAsync< QueryEventArgs > | OnEndSection = null |
| Event raised when a section is closed. More... | |
Class handling the reception of data from a query on multiple nodes.
Definition at line 10 of file CompoundQuery.cs.
| Waher.Things.Queries.CompoundQuery.CompoundQuery | ( | string | CommandId, |
| string | QueryId, | ||
| object | State, | ||
| Language | Language, | ||
| IEnumerable< Query > | Queries, | ||
| RequestOrigin | Origin | ||
| ) |
Class handling the reception of data from a query on multiple nodes.
| CommandId | Command ID |
| QueryId | Query ID |
| State | State object. |
| Language | Language of query. |
| Queries | Queries |
| Origin | Origin of request to execute the query. |
Definition at line 23 of file CompoundQuery.cs.
|
virtual |
Aborts the query.
Reimplemented from Waher.Things.Queries.Query.
Definition at line 114 of file CompoundQuery.cs.
|
inherited |
Begins a new section. Sections can be nested. Each call to BeginSection(string) must be followed by a call to EndSection().
| Header | Section Title. |
|
inherited |
|
inherited |
Ends a section. Each call to BeginSection(string) must be followed by a call to EndSection().
|
inherited |
Called to inform the viewer of an error state.
| Timestamp | Timestamp of event. |
| Error | Error. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an error state.
| Error | Error. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Timestamp | Timestamp of event. |
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Timestamp | Timestamp of event. |
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of something.
| Timestamp | Timestamp of event. |
| Comment | Comment. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of something.
| Comment | Comment. |
Implements Waher.Events.IObservableLayer.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Called to inform the viewer of a warning state.
| Timestamp | Timestamp of event. |
| Warning | Warning. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of a warning state.
| Warning | Warning. |
Implements Waher.Events.IObservableLayer.
|
getinherited |
|
getinherited |
If events raised from the communication layer are decoupled, i.e. executed in parallel with the source that raised them.
Implements Waher.Events.IObservableLayer.
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
getinherited |
|
get |
Definition at line 109 of file CompoundQuery.cs.
|
getinherited |
|
getinherited |
|
getinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |