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.BeforeWrite
andDynamoDbExtensionContext.AfterRead
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultDynamoDbExtensionContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultDynamoDbExtensionContext.Builder
builder()
boolean
equals(Object o)
int
hashCode()
Map<String,AttributeValue>
items()
OperationContext
operationContext()
OperationName
operationName()
TableMetadata
tableMetadata()
TableSchema<?>
tableSchema()
-
-
-
Method Detail
-
builder
public static DefaultDynamoDbExtensionContext.Builder builder()
-
items
public Map<String,AttributeValue> items()
- Specified by:
items
in interfaceDynamoDbExtensionContext.Context
- Returns:
- The
AttributeValue
map of the items that is about to be written or has just been read.
-
operationContext
public OperationContext operationContext()
- Specified by:
operationContext
in interfaceDynamoDbExtensionContext.Context
- Returns:
- The context under which the operation to be modified is taking place.
-
tableMetadata
public TableMetadata tableMetadata()
- Specified by:
tableMetadata
in interfaceDynamoDbExtensionContext.Context
- Returns:
- A
TableMetadata
object describing the structure of the modelled table.
-
tableSchema
public TableSchema<?> tableSchema()
- Specified by:
tableSchema
in interfaceDynamoDbExtensionContext.Context
- Returns:
- A
TableSchema
object describing the structure of the modelled table.
-
operationName
public OperationName operationName()
- Specified by:
operationName
in interfaceDynamoDbExtensionContext.BeforeWrite
- Returns:
- The context under which the operation to be modified is taking place.
-
-