Interface TableTypeRegistry

All Known Implementing Classes:
PersistentTableTypeRegistryImpl, RegisterOnlyTableTypeRegistry, TableTypeRegistryMapImpl

public interface TableTypeRegistry
This interface provides a registry for mappings between tables and their corresponding java types.
  • Method Details

    • typesForTable

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

      void registerTypesForTable(String tableName, TableTypeDescriptor tableDescriptor)
      Registers the supplied type hints for the given table. Existing hints will be replaced.
      Parameters:
      tableName - Must be escaped according to Ignite 3 rules.
      tableDescriptor - Table Descriptor.