object DynamoFormat extends PlatformSpecificFormat with FormatDerivation
- Alphabetic
- By Inheritance
- DynamoFormat
- FormatDerivation
- PlatformSpecificFormat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait ObjectFormat[T] extends DynamoFormat[T]
DynamoFormats for object-like structures
DynamoFormats for object-like structures
- Note
All data types used as the carrier type in Table operations should derive an instance from this class
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val BigDecimalSetFormat: DynamoFormat[Set[BigDecimal]]
- def apply[T](implicit D: DynamoFormat[T]): DynamoFormat[T]
- implicit def arrayFormat[T](implicit arg0: ClassTag[T], f: DynamoFormat[T]): DynamoFormat[Array[T]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit val bigDecimalFormat: DynamoFormat[BigDecimal]
- implicit val booleanFormat: DynamoFormat[Boolean]
- def build[T](r: (DynamoValue) => Either[DynamoReadError, T], w: (T) => DynamoValue): DynamoFormat[T]
- implicit val byteArrayFormat: DynamoFormat[Array[Byte]]
- implicit val byteBufferFormat: DynamoFormat[ByteBuffer]
- implicit val byteFormat: DynamoFormat[Byte]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def coercedXmap[A, B, T >: Null <: Throwable](read: (B) => A, write: (A) => B)(implicit arg0: DynamoFormat[B], arg1: ClassTag[T]): DynamoFormat[A]
Returns a DynamoFormat for the case where
Acan always be convertedB, withwrite, butreadmay throw an exception for some value ofB - implicit val doubleFormat: DynamoFormat[Double]
- implicit val doubleSetFormat: DynamoFormat[Set[Double]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit val floatFormat: DynamoFormat[Float]
- implicit val floatSetFormat: DynamoFormat[Set[Float]]
- implicit def generic[A](implicit A: Exported[DynamoFormat[A]]): DynamoFormat[A]
- Definition Classes
- PlatformSpecificFormat
- implicit def genericSet[T](implicit arg0: DynamoFormat[T]): DynamoFormat[Set[T]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit val instantAsLongFormat: DynamoFormat[Instant]
Format for dealing with points in time stored as the number of milliseconds since Epoch.
- implicit val intFormat: DynamoFormat[Int]
- implicit val intSetFormat: DynamoFormat[Set[Int]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iso[A, B](r: (B) => A, w: (A) => B)(implicit f: DynamoFormat[B]): DynamoFormat[A]
Returns a DynamoFormat for the case where
AandBare isomorphic, i.e.Returns a DynamoFormat for the case where
AandBare isomorphic, i.e. anAcan always be converted to aBand vice versa.If there are some values of
Bthat have no corresponding value inA, use DynamoFormat.xmap or DynamoFormat.coercedXmap. - implicit val javaListFormat: DynamoFormat[List[DynamoValue]]
- implicit def listFormat[T](implicit f: DynamoFormat[T]): DynamoFormat[List[T]]
- implicit val longFormat: DynamoFormat[Long]
- implicit val longSetFormat: DynamoFormat[Set[Long]]
- implicit def mapFormat[V](implicit f: DynamoFormat[V]): DynamoFormat[Map[String, V]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit val offsetDateTimeFormat: DynamoFormat[OffsetDateTime]
Format for dealing with date-times with an offset from UTC.
- implicit def optionFormat[T](implicit f: DynamoFormat[T]): DynamoFormat[Option[T]]
- implicit def seqFormat[T](implicit f: DynamoFormat[T]): DynamoFormat[Seq[T]]
- implicit val shortFormat: DynamoFormat[Short]
- implicit def someFormat[T](implicit f: DynamoFormat[T]): DynamoFormat[Some[T]]
This ensures that if, for instance, you specify an update with Some(5) rather than making the type of
Optionexplicit, it doesn't fall back to auto-derivation - implicit val stringFormat: DynamoFormat[String]
- implicit val stringSetFormat: DynamoFormat[Set[String]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val uuidFormat: DynamoFormat[UUID]
- implicit def vectorFormat[T](implicit f: DynamoFormat[T]): DynamoFormat[Vector[T]]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def xmap[A, B](r: (B) => Either[DynamoReadError, A], w: (A) => B)(implicit f: DynamoFormat[B]): DynamoFormat[A]
Returns a DynamoFormat for the case where
AandBform an epimorphism, i.e.Returns a DynamoFormat for the case where
AandBform an epimorphism, i.e. anAcan always be converted to aBbut the opposite is not necessarily true. - implicit val zonedDateTimeFormat: DynamoFormat[ZonedDateTime]
Format for dealing with date-times with a time zone in the ISO-8601 calendar system.
- object ObjectFormat