Class MapRemoveOperation<K,V>
java.lang.Object
org.datanucleus.flush.MapRemoveOperation<K,V>
- All Implemented Interfaces:
Operation, SCOOperation
Remove operation for a map where we have a backing store.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapRemoveOperation(DNStateManager sm, int fieldNum, K key, V val) MapRemoveOperation(DNStateManager sm, MapStore store, K key, V val) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Accessor for the key being removed.Accessor for the metadata for the member that this operation is for.Accessor for StateManager of the object that this operation is performed on.getStore()Accessor for the backing store for this operation.getValue()Accessor for the value being removed for this key (if known).voidperform()Perform the remove(Object) operation on the specified container.toString()
-
Field Details
-
sm
-
fieldNumber
final int fieldNumber -
store
-
key
The key to remove. -
value
The value to remove.
-
-
Constructor Details
-
MapRemoveOperation
-
MapRemoveOperation
-
-
Method Details
-
getMemberMetaData
Description copied from interface:SCOOperationAccessor for the metadata for the member that this operation is for.- Specified by:
getMemberMetaDatain interfaceSCOOperation- Returns:
- The member metadata
-
getKey
-
getValue
Accessor for the value being removed for this key (if known).- Returns:
- Value being removed if known
-
perform
-
getStore
Description copied from interface:SCOOperationAccessor for the backing store for this operation.- Specified by:
getStorein interfaceSCOOperation- Returns:
- The backing store
-
getStateManager
Description copied from interface:OperationAccessor for StateManager of the object that this operation is performed on.- Specified by:
getStateManagerin interfaceOperation- Returns:
- StateManager
-
toString
-