Class PersistentTableTypeRegistryImpl
java.lang.Object
org.apache.ignite.migrationtools.tablemanagement.PersistentTableTypeRegistryImpl
- All Implemented Interfaces:
TableTypeRegistry
TableTypeRegistry implementation backed by a table.-
Constructor Summary
ConstructorsConstructorDescriptionPersistentTableTypeRegistryImpl(org.apache.ignite3.client.IgniteClient client) -
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
-
PersistentTableTypeRegistryImpl
public PersistentTableTypeRegistryImpl(org.apache.ignite3.client.IgniteClient client)
-
-
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.
-