Click or drag to resize

QdbDouble Class

An atomic double in the database.
Inheritance Hierarchy
SystemObject
  QuasardbQdbEntry
    QuasardbQdbExpirableEntry
      QuasardbQdbDouble

Namespace:  Quasardb
Assembly:  Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntax
public sealed class QdbDouble : QdbExpirableEntry

The QdbDouble type exposes the following members.

Properties
  NameDescription
Public propertyAlias
The alias of the entry in the database.
(Inherited from QdbEntry.)
Top
Methods
  NameDescription
Public methodAdd
Modifies the value of the double in the database.
Public methodAttachTag(String)
Adds a tag to the entry.
(Inherited from QdbEntry.)
Public methodAttachTag(QdbTag)
Adds a tag to the entry.
(Inherited from QdbEntry.)
Public methodDetachTag(String)
Removes a tag from the entry.
(Inherited from QdbEntry.)
Public methodDetachTag(QdbTag)
Removes a tag from the entry.
(Inherited from QdbEntry.)
Public methodExpiresAt
Sets an absolute expiry time.
(Inherited from QdbExpirableEntry.)
Public methodExpiresFromNow
Sets an relative expiry time.
(Inherited from QdbExpirableEntry.)
Public methodGet
Gets the value of the double in the database.
Public methodGetExpiryTime
Gets the expiry time.
(Inherited from QdbExpirableEntry.)
Public methodGetTags
Gets the tags of the entry
(Inherited from QdbEntry.)
Public methodHasTag(String)
Checks if the entry has the specified tag.
(Inherited from QdbEntry.)
Public methodHasTag(QdbTag)
Checks if the entry has the specified tag.
(Inherited from QdbEntry.)
Public methodPut
Sets the value of the double, fails if it already exists.
Public methodRemove
Removes the entry from the database.
(Inherited from QdbEntry.)
Public methodUpdate
Sets the value of the double, fails if it already exists.
Top
Examples
Here is how to set a double blob in the database:
C#
var cluster = new QdbCluster("qdb://127.0.0.1:2836");

cluster.Double("some name").Put(42.0);
See Also