Class TableTypeRegistryMapImpl

java.lang.Object
org.apache.ignite.migrationtools.tablemanagement.TableTypeRegistryMapImpl
All Implemented Interfaces:
TableTypeRegistry

public class TableTypeRegistryMapImpl extends Object implements TableTypeRegistry
TableTypeRegistry implementation based on a in-memory map.
  • Constructor Details

    • TableTypeRegistryMapImpl

      public TableTypeRegistryMapImpl()
  • Method Details

    • typesForTable

      @Nullable public @Nullable TableTypeDescriptor typesForTable(String tableName)
      Description copied from interface: TableTypeRegistry
      Gets the available type hints for the table.
      Specified by:
      typesForTable in interface TableTypeRegistry
      Parameters:
      tableName - Must be escaped according to Ignite 3 rules.
      Returns:
      The type hints for the table, or null if none are available.
    • registerTypesForTable

      public void registerTypesForTable(String tableName, TableTypeDescriptor tableDescriptor)
      Description copied from interface: TableTypeRegistry
      Registers the supplied type hints for the given table. Existing hints will be replaced.
      Specified by:
      registerTypesForTable in interface TableTypeRegistry
      Parameters:
      tableName - Must be escaped according to Ignite 3 rules.
      tableDescriptor - Table Descriptor.