All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sisioh.aws4s.dynamodb.document.RichItemCollection.scala Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package org.sisioh.aws4s.dynamodb.document

import com.amazonaws.services.dynamodbv2.document.ItemCollection
import com.amazonaws.services.dynamodbv2.model.ConsumedCapacity
import org.sisioh.aws4s.PimpedType

class RichItemCollection[R](val underlying: ItemCollection[R]) extends AnyVal with PimpedType[ItemCollection[R]] {

  def totalCount: Int =
    underlying.getTotalCount

  def totalScannedCount: Int =
    underlying.getTotalScannedCount

  def totalConsumedCapacity: ConsumedCapacity =
    underlying.getTotalConsumedCapacity

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy