case class InsertOrUpdate(key: ADKey, value: ADValue) extends Modification with Product with Serializable
- Alphabetic
- By Inheritance
- InsertOrUpdate
- Serializable
- Serializable
- Product
- Equals
- Modification
- SparkzEncoding
- Operation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
NewValue = Array[Byte] with Tag[Array[Byte], ADValue.Tag]
- Definition Classes
- Modification
-
type
OldValue = Option[ADValue]
- Definition Classes
- Modification
-
type
UpdateFunction = (OldValue) ⇒ Try[Option[NewValue]]
- Definition Classes
- Modification
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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
implicit
val
encoder: SparkzEncoder
- Definition Classes
- SparkzEncoding
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
key: ADKey
- Definition Classes
- InsertOrUpdate → Modification → Operation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- InsertOrUpdate → AnyRef → Any
-
def
updateFn: UpdateFunction
Update functions takes Option[oldValue] and return Try[Option[newValue]] For example: Insert: None => Success(Some(newValue)), but Some(oldValue) => Failure() Update: Some(oldValue) => Success(Some(newValue)) Delete: Some(oldValue) => Success(None), but None => Failure() ConditionalUpdate: Some(oldValue) => Success(Some(newValue)) or Failure(), depending on whether oldValue satisfied some desired conditions
Update functions takes Option[oldValue] and return Try[Option[newValue]] For example: Insert: None => Success(Some(newValue)), but Some(oldValue) => Failure() Update: Some(oldValue) => Success(Some(newValue)) Delete: Some(oldValue) => Success(None), but None => Failure() ConditionalUpdate: Some(oldValue) => Success(Some(newValue)) or Failure(), depending on whether oldValue satisfied some desired conditions
- Definition Classes
- InsertOrUpdate → Modification
- val value: ADValue
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated