Class RegisterOnlyTableTypeRegistry
java.lang.Object
org.apache.ignite.migrationtools.tablemanagement.RegisterOnlyTableTypeRegistry
- All Implemented Interfaces:
TableTypeRegistry
Decorator for
TableTypeRegistry that only registers new hints.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
RegisterOnlyTableTypeRegistry
-
-
Method Details
-
typesForTable
Description copied from interface:TableTypeRegistryGets the available type hints for the table.- Specified by:
typesForTablein interfaceTableTypeRegistry- Parameters:
tableName- Must be escaped according to Ignite 3 rules.- Returns:
- The type hints for the table, or null if none are available.
-
registerTypesForTable
Description copied from interface:TableTypeRegistryRegisters the supplied type hints for the given table. Existing hints will be replaced.- Specified by:
registerTypesForTablein interfaceTableTypeRegistry- Parameters:
tableName- Must be escaped according to Ignite 3 rules.tableDescriptor- Table Descriptor.
-