NTP Analyzer
0.8.2
Analyze the operation of time servers
|
OR/M mapper for tables with a large amount of rows. More...
Protected Member Functions | |
FilteredSqlDatabaseMapper (LogBase log) | |
override string | PrepareSql (string sql) |
Protected Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< T > | |
SqlDatabaseMapper (LogBase log) | |
void | AddItem (T item) |
void | Close () |
IDbDataParameter | CreateParameter (string name, object value) |
virtual T | FetchExternal (int id) |
abstract void | Insert (T item) |
void | Open () |
string | PrepareInsertSql (string sql) |
abstract void | ReadContent () |
void | RemoveItem (T item) |
abstract void | Update (T item) |
Protected Member Functions inherited from Ntp.Data.DataMapper< T > | |
DataMapper (LogBase log) | |
Properties | |
Host | FilterHost [get, set] |
Gets or sets the host More... | |
Peer | FilterPeer [get, set] |
Gets or sets the peer to use when extracting data. More... | |
DateTime | FilterTime [get, set] |
Gets or sets the time to use when extracting data. Only readings with a timestamp later than FilterTime gets extracted. More... | |
Properties inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< T > | |
IDbCommand | Command [get, private set] |
abstract string | CreateSql [get] |
abstract string | TableName [get] |
T | this[int id] [get] |
abstract bool | UseCache [get] |
Properties inherited from Ntp.Data.DataMapper< T > | |
LogBase | Log [get] |
Additional Inherited Members | |
Public Member Functions inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< T > | |
void | CheckTable () |
override IEnumerator< T > | GetEnumerator () |
Read all data from table in a sequential manner. More... | |
void | Save (T item) |
Protected Attributes inherited from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< T > | |
IEnumerable< T > | Content => items.Values |
readonly object | MapperLocker = new object() |
IDataReader | Reader |
OR/M mapper for tables with a large amount of rows.
T | : | PersistentObject |
Definition at line 32 of file FilteredSqlDatabaseMapper.cs.
|
inlineprotected |
Definition at line 35 of file FilteredSqlDatabaseMapper.cs.
|
inlineprotectedvirtual |
Reimplemented from Ntp.Analyzer.Data.Sql.SqlDatabaseMapper< T >.
Definition at line 59 of file FilteredSqlDatabaseMapper.cs.
|
getset |
Gets or sets the host
The host.
Definition at line 51 of file FilteredSqlDatabaseMapper.cs.
Referenced by Ntp.Analyzer.Graph.HostGraph.LoadData(), Ntp.Analyzer.Graph.PeerGraph.LoadData(), and Ntp.Analyzer.Graph.TrafficGraph.LoadData().
|
getset |
Gets or sets the peer to use when extracting data.
The filter peer.
Definition at line 57 of file FilteredSqlDatabaseMapper.cs.
Referenced by Ntp.Analyzer.Graph.PeerGraph.LoadData().
|
getset |
Gets or sets the time to use when extracting data. Only readings with a timestamp later than FilterTime gets extracted.
The time.
Definition at line 45 of file FilteredSqlDatabaseMapper.cs.
Referenced by Ntp.Analyzer.Graph.HostGraph.LoadData(), Ntp.Analyzer.Graph.PeerGraph.LoadData(), and Ntp.Analyzer.Graph.TrafficGraph.LoadData().