Class StringEntry

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

public final class StringEntry extends Object
A string in the database.
  • Constructor Details

    • StringEntry

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

    • ofAlias

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

      public void put(String content)
      Create a new string with the specified content. Fails if the string already exists.
      Parameters:
      content - The content of the string to be created.
    • update

      public void update(String content)
      Replaces the content of the string.
      Parameters:
      content - The content of the string to be stored.