Class BinaryStateRecordAdapter
- java.lang.Object
-
- io.vlingo.symbio.store.state.dynamodb.adapters.BinaryStateRecordAdapter
-
- All Implemented Interfaces:
RecordAdapter<io.vlingo.symbio.State.BinaryState>
public final class BinaryStateRecordAdapter extends java.lang.Object implements RecordAdapter<io.vlingo.symbio.State.BinaryState>
-
-
Constructor Summary
Constructors Constructor Description BinaryStateRecordAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue>
marshallDispatchable(io.vlingo.symbio.store.state.StateStore.Dispatchable<io.vlingo.symbio.State.BinaryState> dispatchable)
java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue>
marshallForQuery(java.lang.String id)
java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue>
marshallState(io.vlingo.symbio.State.BinaryState state)
io.vlingo.symbio.store.state.StateStore.Dispatchable<io.vlingo.symbio.State.BinaryState>
unmarshallDispatchable(java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> item)
io.vlingo.symbio.State.BinaryState
unmarshallState(java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> record)
-
-
-
Method Detail
-
marshallState
public java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> marshallState(io.vlingo.symbio.State.BinaryState state)
- Specified by:
marshallState
in interfaceRecordAdapter<io.vlingo.symbio.State.BinaryState>
-
marshallDispatchable
public java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> marshallDispatchable(io.vlingo.symbio.store.state.StateStore.Dispatchable<io.vlingo.symbio.State.BinaryState> dispatchable)
- Specified by:
marshallDispatchable
in interfaceRecordAdapter<io.vlingo.symbio.State.BinaryState>
-
marshallForQuery
public java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> marshallForQuery(java.lang.String id)
- Specified by:
marshallForQuery
in interfaceRecordAdapter<io.vlingo.symbio.State.BinaryState>
-
unmarshallState
public io.vlingo.symbio.State.BinaryState unmarshallState(java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> record)
- Specified by:
unmarshallState
in interfaceRecordAdapter<io.vlingo.symbio.State.BinaryState>
-
unmarshallDispatchable
public io.vlingo.symbio.store.state.StateStore.Dispatchable<io.vlingo.symbio.State.BinaryState> unmarshallDispatchable(java.util.Map<java.lang.String,com.amazonaws.services.dynamodbv2.model.AttributeValue> item)
- Specified by:
unmarshallDispatchable
in interfaceRecordAdapter<io.vlingo.symbio.State.BinaryState>
-
-