Class InputTableConverter

java.lang.Object
io.deephaven.enterprise.database.inputtables.InputTableConverter

@NotThreadSafe public final class InputTableConverter extends Object
Tool to convert Legacy input tables into new Core+ input tables.
  • Method Details

    • create

      public static InputTableConverter create()
    • run

      public void run(@NotNull @NotNull Database db, @NotNull @NotNull String namespace, @NotNull @NotNull String tableName, @NotNull @NotNull String newNamespace, @NotNull @NotNull String newTableName)
      Converts the specified Legacy input table into a copied Core+ input table.
      Parameters:
      db - database to retrieve input tables
      namespace - namespace of Legacy input table
      tableName - table name of Legacy input table
      newNamespace - namespace of new Core+ input table
      newTableName - table name of new Core+ input table
      Throws:
      UserTableMissingSchemaException - if the specified Legacy table doesn't exist
      UserTablePreexistingSchemaException - if the specified Core+ namespace and table name already exists
      UserInputTableException - if the specified Legacy table exists, but its input table information cannot be retrieved