Class DefaultDynamoDbExtensionContext
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.extensions.DefaultDynamoDbExtensionContext
-
- All Implemented Interfaces:
DynamoDbExtensionContext.AfterRead,DynamoDbExtensionContext.BeforeWrite,DynamoDbExtensionContext.Context
public final class DefaultDynamoDbExtensionContext extends Object implements DynamoDbExtensionContext.BeforeWrite, DynamoDbExtensionContext.AfterRead
An SDK-internal implementation ofDynamoDbExtensionContext.BeforeWriteandDynamoDbExtensionContext.AfterRead.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultDynamoDbExtensionContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultDynamoDbExtensionContext.Builderbuilder()booleanequals(Object o)inthashCode()Map<String,AttributeValue>items()OperationContextoperationContext()OperationNameoperationName()TableMetadatatableMetadata()TableSchema<?>tableSchema()
-
-
-
Method Detail
-
builder
public static DefaultDynamoDbExtensionContext.Builder builder()
-
items
public Map<String,AttributeValue> items()
- Specified by:
itemsin interfaceDynamoDbExtensionContext.Context- Returns:
- The
AttributeValuemap of the items that is about to be written or has just been read.
-
operationContext
public OperationContext operationContext()
- Specified by:
operationContextin interfaceDynamoDbExtensionContext.Context- Returns:
- The context under which the operation to be modified is taking place.
-
tableMetadata
public TableMetadata tableMetadata()
- Specified by:
tableMetadatain interfaceDynamoDbExtensionContext.Context- Returns:
- A
TableMetadataobject describing the structure of the modelled table.
-
tableSchema
public TableSchema<?> tableSchema()
- Specified by:
tableSchemain interfaceDynamoDbExtensionContext.Context- Returns:
- A
TableSchemaobject describing the structure of the modelled table.
-
operationName
public OperationName operationName()
- Specified by:
operationNamein interfaceDynamoDbExtensionContext.BeforeWrite- Returns:
- The context under which the operation to be modified is taking place.
-
-