Class IntegerEntry

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

public final class IntegerEntry extends Object
A integer in the database.
  • Constructor Details

    • IntegerEntry

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

    • ofAlias

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

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

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