Interface DeleteSpec<K,V>
- Type Parameters:
K- key type.V- value type.
public interface DeleteSpec<K,V>
Steps for configuring a
DELETE operation.- Since:
- 4.1
- Author:
- Mark Paluch
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSteps to customize value or digest comparison for conditional delete operations. -
Method Summary
Modifier and TypeMethodDescriptionDeleteSpec<K, V> always()Delete the key unconditionally.ifEquals()Configure deletion only if the value matches the given value or digest.Configure deletion only if the value does not match the given value or digest.
-
Method Details
-
always
-
ifEquals
DeleteSpec.ComparisonSpec<K,V> ifEquals()Configure deletion only if the value matches the given value or digest.- Returns:
- a
DeleteSpec.ComparisonSpecto specify the value or digest to compare against.
-
ifNotEquals
DeleteSpec.ComparisonSpec<K,V> ifNotEquals()Configure deletion only if the value does not match the given value or digest.- Returns:
- a
DeleteSpec.ComparisonSpecto specify the value or digest to compare against.
-