public final class VersionedRecordExtension extends Object implements DynamoDbEnhancedClientExtension
Modifier and Type | Class and Description |
---|---|
static class |
VersionedRecordExtension.AttributeTags |
static class |
VersionedRecordExtension.Builder |
Modifier and Type | Method and Description |
---|---|
WriteModification |
beforeWrite(Map<String,AttributeValue> item,
OperationContext operationContext,
TableMetadata tableMetadata)
This hook is called just before an operation is going to write data to the database.
|
static VersionedRecordExtension.Builder |
builder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterRead
public static VersionedRecordExtension.Builder builder()
public WriteModification beforeWrite(Map<String,AttributeValue> item, OperationContext operationContext, TableMetadata tableMetadata)
DynamoDbEnhancedClientExtension
beforeWrite
in interface DynamoDbEnhancedClientExtension
item
- The item that is about to be written.operationContext
- The context under which the operation to be modified is taking place.tableMetadata
- The structure of the table.WriteModification
object that can alter the behavior of the write operation.Copyright © 2020. All rights reserved.