public class StreamingClientDatabase<TKey, TValue> : ClientDatabaseBase<TKey, TValue>
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>
Public Class StreamingClientDatabase(Of TKey As {New, SnapTypeBase(Of TKey)}, TValue As {New, SnapTypeBase(Of TValue)})
Inherits ClientDatabaseBase(Of TKey, TValue)generic<typename TKey, typename TValue>
where TKey : gcnew(), SnapTypeBase<TKey>
where TValue : gcnew(), SnapTypeBase<TValue>
public ref class StreamingClientDatabase : public ClientDatabaseBase<TKey, TValue>| StreamingClientDatabaseTKey, TValue | Creates a streaming wrapper around a database. |
| Info |
Gets basic information about the current Database.
(Overrides ClientDatabaseBaseInfo) |
| IsDisposed |
Gets if has been disposed.
(Overrides ClientDatabaseBaseIsDisposed) |
| AttachFilesOrPaths |
Loads the provided files from all of the specified paths.
(Overrides ClientDatabaseBaseAttachFilesOrPaths(IEnumerableString)) |
| DeleteFiles |
Deletes the list of files from the database.
(Overrides ClientDatabaseBaseDeleteFiles(ListGuid)) |
| DetachFiles |
Detaches the list of files from the database.
(Overrides ClientDatabaseBaseDetachFiles(ListGuid)) |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides ClientDatabaseBaseDispose) |
| Equals | Determines whether the specified object is equal to the current object. (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) |
| GetAllAttachedFiles |
Enumerates all of the files attached to the database.
(Overrides ClientDatabaseBaseGetAllAttachedFiles) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| HardCommit |
Forces a commit to the disk subsystem. Once this returns, the data will not
be lost due to an application crash or unexpected shutdown.
Hard commits can take 100ms or longer depending on how much data has to be committed.
This requires two consecutive hardware cache flushes.
(Overrides ClientDatabaseBaseHardCommit) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Read |
Reads data from the SortedTreeEngine with the provided read options and server side filters.
(Overrides ClientDatabaseBaseTKey, TValueRead(SortedTreeEngineReaderOptions, SeekFilterBaseTKey, MatchFilterBaseTKey, TValue)) |
| SetEncodingMode | Defines the encoding method to use for the server. |
| SoftCommit |
Forces a soft commit on the database. A soft commit
only commits data to memory. This allows other clients to read the data.
While soft committed, this data could be lost during an unexpected shutdown.
Soft commits usually occur within microseconds.
(Overrides ClientDatabaseBaseSoftCommit) |
| StartBulkWriting | Due to the blocking nature of streams, this helper class can substantially improve the performance of writing streaming points to the historian. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Write(TreeStreamTKey, TValue) |
Writes the tree stream to the database.
(Overrides ClientDatabaseBaseTKey, TValueWrite(TreeStreamTKey, TValue)) |
| Write(TKey, TValue) |
Writes an individual key/value to the sorted tree store.
(Overrides ClientDatabaseBaseTKey, TValueWrite(TKey, TValue)) |