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

org.sisioh.aws4s.dynamodb.document.RichRangeKeyCondition.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.{ KeyConditions, RangeKeyCondition }
import org.sisioh.aws4s.PimpedType

object RangeKeyConditionFactory {

  def apply(attrName: String): RangeKeyCondition = new RangeKeyCondition(attrName)

}

class RichRangeKeyCondition(val underlying: RangeKeyCondition) extends AnyVal with PimpedType[RangeKeyCondition] {

  def attrName: String = underlying.getAttrName

  def keyCondition: KeyConditions = underlying.getKeyCondition

  def values: Array[AnyRef] = underlying.getValues
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy