Class PersistentTableTypeRegistryImpl

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

public class PersistentTableTypeRegistryImpl extends Object implements TableTypeRegistry
TableTypeRegistry implementation backed by a table.
  • Constructor Details

    • PersistentTableTypeRegistryImpl

      public PersistentTableTypeRegistryImpl(org.apache.ignite3.client.IgniteClient client)
  • 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.