sealed abstract class DynamoValue extends Product with Serializable
A DynamoValue is a pure representation of an AttributeValue from the AWS SDK.
- Self Type
- DynamoValue
- Alphabetic
- By Inheritance
- DynamoValue
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete 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
- final def as[A](implicit A: DynamoFormat[A]): Either[DynamoReadError, A]
Transforms into a value of type
Afor which there is a codec, if applies - final def asArray: Option[DynamoArray]
Produces the underlying array, if applies
- final def asBoolean: Option[Boolean]
Produces the underlying boolean, if applies
- final def asByteBuffer: Option[ByteBuffer]
Produces the underlying byte buffer, if applies
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final def asNull: Option[Unit]
Produces
()is this object is null - final def asNumber: Option[String]
Produces the underlying number, if applies
- final def asObject: Option[DynamoObject]
Produces the underlying object, if applies
- final def asString: Option[String]
Produces the underlying string, if applies
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isArray: Boolean
Checks whether this object rerpresents an array
- final def isBoolean: Boolean
Checks whether this object represents a boolean
- final def isByteBuffer: Boolean
Checks whether this object represents a byte buffer
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isNull: Boolean
Checks whether this object represents the null object
- final def isNumber: Boolean
Checks whether this object represents a number
- final def isObject: Boolean
Checks whether this object rerpresents a composite object
- final def isString: Boolean
Checks whether this object represents a string
- 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()
- final def orElse(that: DynamoValue): DynamoValue
Returns this value if it isn't null, the provided one otherwise (which may be null too), this allows expressions like: v1 orElse v2 orElse v3 ...
Returns this value if it isn't null, the provided one otherwise (which may be null too), this allows expressions like: v1 orElse v2 orElse v3 ... or even vs.foldLeft(nil)(_ orElse _)
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAttributeValue: AttributeValue
Produces the
AttributeValueisomorphic to thisDynamoValue - def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def withArray(f: (DynamoArray) => DynamoValue): DynamoValue
Transforms into a new value if this one is an array
- final def withBoolean(f: (Boolean) => DynamoValue): DynamoValue
Transforms into a new value if this one is a boolean
- final def withByteBuffer(f: (ByteBuffer) => DynamoValue): DynamoValue
Transforms into a new value if this one is a byte buffer
- final def withNull(f: => DynamoValue): DynamoValue
Transforms into a new value if this one is null
- final def withNumber(f: (String) => DynamoValue): DynamoValue
Transforms into a new value if this one is a number
- final def withObject(f: (DynamoObject) => DynamoValue): DynamoValue
Transforms into a new value if this one is a map
- final def withString(f: (String) => DynamoValue): DynamoValue
Transforms into a new value if this one is a string