Class TableInfoCacheKey

java.lang.Object
org.apache.nifi.cdc.event.TableInfoCacheKey

public class TableInfoCacheKey extends Object
This class represents a key in a cache that contains information (column definitions, e.g.) for a database table
  • Field Details

    • databaseName

      private final String databaseName
    • tableName

      private final String tableName
    • tableId

      private final long tableId
    • uuidPrefix

      private final String uuidPrefix
  • Constructor Details

    • TableInfoCacheKey

      public TableInfoCacheKey(String uuidPrefix, String databaseName, String tableName, long tableId)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDatabaseName

      public String getDatabaseName()
    • getTableName

      public String getTableName()
    • getTableId

      public long getTableId()
    • getUuidPrefix

      public String getUuidPrefix()