Class TableTypeDescriptor

java.lang.Object
org.apache.ignite.migrationtools.tablemanagement.TableTypeDescriptor

public class TableTypeDescriptor extends Object
Describes the key and value types of a Table.
  • Constructor Details

    • TableTypeDescriptor

      public TableTypeDescriptor(String keyClassName, String valClassName, @Nullable @Nullable Map<String,String> keyFieldNameForColumn, @Nullable @Nullable Map<String,String> valFieldNameForColumn)
      Constructor.
      Parameters:
      keyClassName - Name of the key type.
      valClassName - Name of the value type.
      keyFieldNameForColumn - Mapping of key columns to their corresponding field names. May be null if the key class was not available.
      valFieldNameForColumn - Mapping of value columns to their corresponding field names. May be null if the key class was not available.
  • Method Details

    • keyClassName

      public String keyClassName()
    • valClassName

      public String valClassName()
    • typeHints

      public Map.Entry<String,String> typeHints()
    • keyFieldNameForColumn

      @Nullable public @Nullable Map<String,String> keyFieldNameForColumn()
    • valFieldNameForColumn

      @Nullable public @Nullable Map<String,String> valFieldNameForColumn()