Class 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>
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BinaryStateRecordAdapter

        public BinaryStateRecordAdapter()
    • 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 interface RecordAdapter<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 interface RecordAdapter<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 interface RecordAdapter<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 interface RecordAdapter<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 interface RecordAdapter<io.vlingo.symbio.State.BinaryState>