Package org.apache.cassandra.db
Class UnfilteredValidation
- java.lang.Object
-
- org.apache.cassandra.db.UnfilteredValidation
-
public class UnfilteredValidation extends java.lang.ObjectHandles unfiltered validation - if configured, it checks if the provided unfiltered has invalid deletions (if the local deletion time is negative or if the ttl is negative) and then either logs or throws an exception if so.
-
-
Constructor Summary
Constructors Constructor Description UnfilteredValidation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidhandleInvalid(TableMetadata metadata, DecoratedKey key, SSTableReader sstable, java.lang.String invalidContent)static voidmaybeValidateUnfiltered(Unfiltered unfiltered, TableMetadata metadata, DecoratedKey key, SSTableReader sstable)
-
-
-
Method Detail
-
maybeValidateUnfiltered
public static void maybeValidateUnfiltered(Unfiltered unfiltered, TableMetadata metadata, DecoratedKey key, SSTableReader sstable)
-
handleInvalid
public static void handleInvalid(TableMetadata metadata, DecoratedKey key, SSTableReader sstable, java.lang.String invalidContent)
-
-