Class TimestampEntry

java.lang.Object
net.quasardb.qdb.batch.TimestampEntry

public final class TimestampEntry extends Object
A timestamp in the database.
  • Constructor Details

    • TimestampEntry

      protected TimestampEntry(Batch batch, String alias)
  • Method Details

    • ofAlias

      public static TimestampEntry ofAlias(Batch batch, String alias)
    • put

      public void put(Timespec content)
      Create a new timestamp with the specified content. Fails if the timestamp already exists.
      Parameters:
      content - The timestamp value to be stored.
    • update

      public void update(Timespec content)
      Replaces the content of the timestamp.
      Parameters:
      content - The timestamp value to be stored.