Class ForeignKeyChecker
java.lang.Object
io.camunda.zeebe.db.impl.rocksdb.transaction.ForeignKeyChecker
Similar to
TransactionalColumnFamily but supports lookups on arbitrary column families.
Can be used to check that a foreign key is valid.-
Constructor Summary
ConstructorsConstructorDescriptionForeignKeyChecker(ZeebeTransactionDb<?> transactionDb, ConsistencyChecksSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionvoidassertExists(ZeebeTransaction transaction, ContainsForeignKeys containsForeignKey)
-
Constructor Details
-
ForeignKeyChecker
-
-
Method Details
-
assertExists
public void assertExists(ZeebeTransaction transaction, ContainsForeignKeys containsForeignKey) throws Exception - Throws:
Exception
-