public class AccMode$
extends scala.Enumeration
AccMode
determines how insert, update, and delete changes of tables are encoded
by the messeages that an operator emits.Modifier and Type | Field and Description |
---|---|
static AccMode$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
AccMode$() |
Modifier and Type | Method and Description |
---|---|
scala.Enumeration.Value |
Acc()
An operator in
Acc mode emits change messages as
CRow which encode a pair of (Boolean, Row). |
scala.Enumeration.Value |
AccRetract()
* An operator in
AccRetract mode emits change messages as
CRow which encode a pair of (Boolean, Row). |
apply, maxId, nextId_$eq, nextId, nextName_$eq, nextName, readResolve, scala$Enumeration$$bottomId_$eq, scala$Enumeration$$bottomId, scala$Enumeration$$isValDef$1, scala$Enumeration$$nameOf, scala$Enumeration$$nextNameOrNull, scala$Enumeration$$nmap, scala$Enumeration$$populateNameMap, scala$Enumeration$$topId_$eq, scala$Enumeration$$topId, scala$Enumeration$$vmap, scala$Enumeration$$vsetDefined_$eq, toString, Value, Value, Value, Value, ValueOrdering, values, ValueSet, withName
public static final AccMode$ MODULE$
public scala.Enumeration.Value Acc()
Acc
mode emits change messages as
CRow
which encode a pair of (Boolean, Row).
An operator in Acc
mode may only produce update and delete messages, if the table has
a unique key and all key attributes are contained in the Row.
Changes are encoded as follows: - insert: (true, NewRow) - update: (true, NewRow) // the Row includes the full unique key to identify the row to update - delete: (false, OldRow) // the Row includes the full unique key to idenify the row to delete
public scala.Enumeration.Value AccRetract()
AccRetract
mode emits change messages as
CRow
which encode a pair of (Boolean, Row).
Changes are encoded as follows: - insert: (true, NewRow) - update: (false, OldRow), (true, NewRow) // updates are encoded in two messages! - delete: (false, OldRow)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.