Class DefaultDocument

java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.DefaultDocument
All Implemented Interfaces:
Document

public final class DefaultDocument extends Object implements Document
  • Method Details

    • create

      public static DefaultDocument create(Map<String,AttributeValue> itemMap)
    • getItem

      public <T> T getItem(MappedTableResource<T> mappedTableResource)
      Description copied from interface: Document
      Get the table item associated with the table schema in the mapped table resource.
      Specified by:
      getItem in interface Document
      Type Parameters:
      T - the type of items in the mapped table resource
      Parameters:
      mappedTableResource - the mapped table resource this item was retrieved from
      Returns:
      the item constructed from the document
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object