Class CreateTableBuilder.TableIdBuilder

java.lang.Object
expert.os.harperdb.CreateTableBuilder.TableIdBuilder
Enclosing class:
CreateTableBuilder

public static class CreateTableBuilder.TableIdBuilder extends Object
Builder class for configuring additional details of the table to be created and executing the "create table" operation.
  • Method Details

    • execute

      public boolean execute()
      Executes the "create table" operation with default "data" for the database attribute.
      Returns:
      true if the table creation is successful; false otherwise.
    • database

      public boolean database(String database)
      Executes the "create table" operation with a specified database attribute.
      Parameters:
      database - The database attribute for the table.
      Returns:
      true if the table creation is successful; false otherwise.
      Throws:
      NullPointerException - if the provided database is null.