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 Summary
Modifier and TypeMethodDescriptionvoidregisterTypesForTable(String tableName, TableTypeDescriptor tableDescriptor) Registers the supplied type hints for the given table.@Nullable TableTypeDescriptortypesForTable(String tableName) Gets the available type hints for the table.
-
Method Details
-
typesForTable
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
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.
-