Class TableTypeRegistryUtils
java.lang.Object
org.apache.ignite.migrationtools.tablemanagement.TableTypeRegistryUtils
Utility class for handling TableTypeRegistries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TableTypeDescriptorCreates a table descriptor with just the supplied type hints.typesToEntry(TableTypeDescriptor descriptor) Materializes the table types into a key/value pair.
-
Constructor Details
-
TableTypeRegistryUtils
public TableTypeRegistryUtils()
-
-
Method Details
-
typesToEntry
public static Map.Entry<Class<?>,Class<?>> typesToEntry(TableTypeDescriptor descriptor) throws ClassNotFoundException Materializes the table types into a key/value pair.- Parameters:
descriptor- Table Type descriptor.- Returns:
- Materialized key/value pair of the table types.
- Throws:
ClassNotFoundException- if one of the types is not available on the classpath.
-
typeHints
Creates a table descriptor with just the supplied type hints.- Parameters:
keyClass- Type of the key.valClass- Type of the value.- Returns:
- the new TableTypeDescriptor instance.
-