SqlUpdate

molecule.sql.core.transaction.SqlUpdate
trait SqlUpdate extends SqlBase_JVM, UpdateOps, MoleculeLogging

Attributes

Source
SqlUpdate.scala
Graph
Supertypes
trait MoleculeLogging
trait Logging
trait UpdateOps
trait Action2Data
trait SqlBase_JVM
trait BaseHelpers
trait DateHandling
trait RegexMatching
trait ModelUtils
trait DataType
class Object
trait Matchable
class Any
Show all
Self type
ResolveUpdate

Members list

Type members

Inherited classlikes

implicit class Regex(sc: StringContext)

Attributes

Inherited from:
RegexMatching
Source
RegexMatching.scala
Supertypes
class Object
trait Matchable
class Any

Inherited types

type Data = (List[Table], List[JoinTable])

Attributes

Inherited from:
JdbcDataType_JVM
Source
SqlDataType_JVM.scala
type IdsMap = Map[List[String], List[Long]]

Attributes

Inherited from:
JdbcDataType_JVM
Source
SqlDataType_JVM.scala
type RowIndex = Int

Attributes

Inherited from:
JdbcDataType_JVM
Source
SqlDataType_JVM.scala
type Setter = (PreparedStatement, IdsMap, RowIndex) => Unit

Attributes

Inherited from:
JdbcDataType_JVM
Source
SqlDataType_JVM.scala

Value members

Abstract methods

def model2SqlQuery(elements: List[Element]): Model2SqlQuery[Any]

Attributes

Source
SqlUpdate.scala

Concrete methods

protected def addJoins(joinTable: String, ns_id: String, refNs_id: String, id: Long, refIds: Iterable[Long]): Table

Attributes

Source
SqlUpdate.scala
protected def addRowSetterToTables(): Unit

Attributes

Source
SqlUpdate.scala
protected def addToUpdateCols(a: Attr): Unit

Attributes

Source
SqlUpdate.scala
protected def deleteJoins(joinTable: String, ns_id: String, id: Long, refIds: String): Table

Attributes

Source
SqlUpdate.scala
def getData(elements: List[Element]): Data

Attributes

Source
SqlUpdate.scala
protected def getTables: List[Table]

Attributes

Source
SqlUpdate.scala
protected def getUpdateId: Long

Attributes

Source
SqlUpdate.scala
override def handleBackRef(backRef: BackRef): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def handleFilterAttr(filterAttr: AttrOneTac): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def handleIds(ids1: Seq[Long]): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def handleRefNs(ref: Ref): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def handleUniqueFilterAttr(uniqueFilterAttr: AttrOneTac): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
protected def updateCurRefPath(attr: String): (List[String], Int)

Attributes

Source
SqlUpdate.scala
override def updateOne[T](a: AttrOne, vs: Seq[T], transformValue: T => Any, handleValue: T => Any): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def updateSetAdd[T](a: AttrSet, sets: Seq[Set[T]], transform: T => Any, set2array: Set[Any] => Array[AnyRef], refNs: Option[String], exts: List[String]): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def updateSetEq[T](a: AttrSet, sets: Seq[Set[T]], transform: T => Any, set2array: Set[Any] => Array[AnyRef], refNs: Option[String], exts: List[String]): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def updateSetRemove[T](a: AttrSet, set: Set[T], transform: T => Any, handleValue: T => Any, refNs: Option[String], exts: List[String]): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala
override def updateSetSwap[T](a: AttrSet, sets: Seq[Set[T]], transform: T => Any, handleValue: T => Any, refNs: Option[String], exts: List[String]): Unit

Attributes

Definition Classes
UpdateOps
Source
SqlUpdate.scala

Inherited methods

protected def addColSetter(refPath: List[String], colSetter: Setter): Unit

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected def bigDec(arg: Any): BigDecimal

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def countValueAttrs(elements: List[Element]): Int

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def date2datomic(date: Date): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def date2str(date: Date, zoneOffset: ZoneOffset): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def daylight(ms: Long): Int

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
protected def debug(s: Any): Unit

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected def double(arg: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def escStr(s: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def expandDateStr(dateStr: String): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def firstLow(str: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def getAttrNames(elements: List[Element], attrs: Set[String]): Set[String]

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
protected def getConn(proxy: ConnProxy): Future[JdbcConn_JVM]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
final protected def getInitialNonGenericNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
final protected def getInitialNs(elements: List[Element]): String

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def getKwName(kw: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def getRefResolver[T](ns: String, refAttr: String, refNs: String, card: Card): T => Unit

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
override def indent(level: Int): String

Attributes

Definition Classes
SqlBase_JVM -> BaseHelpers
Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
def isRefUpdate(elements: List[Element]): Boolean

Attributes

Inherited from:
ModelUtils
Source
ModelUtils.scala
def localOffset: String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def localZoneOffset: ZoneOffset

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
protected def logger: Logger

The logger for this class.

The logger for this class.

Attributes

Inherited from:
Logging
Source
Logging.scala
protected def loggerName: String

Override this to change the name of the underlying logger.

Override this to change the name of the underlying logger.

Defaults to class name with package

Attributes

Inherited from:
Logging
Source
Logging.scala
final def o(opt: Option[Any]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def oStr(opt: Option[String]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def oStr2(opt: Option[String]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okEnumIdent(enumIdent: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okIdent(name: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okNamespaceName(name: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def okPartitionName(name: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def opt(opt: Option[Any]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def pad(longest: Int, shorter: Int): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def padS(longest: Int, str: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def render(value: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def renderValidations(validations: Seq[(String, String)]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final protected def resetTimer(): Unit

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final def sq[T](values: Iterable[T]): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def str2date(s: String, zoneOffset: ZoneOffset): Date

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def str2zdt(s: String, zoneOffset: ZoneOffset): ZonedDateTime

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def thousands(i: Long): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
final protected def time(n: Int, prev: Int): Unit

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def truncateDateStr(dateStr: String): String

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala
def unescStr(s: String): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
protected def unexpected(element: Element): Nothing

Attributes

Inherited from:
Action2Data
Source
Action2Data.scala
def withDecimal(v: Any): String

Attributes

Inherited from:
BaseHelpers
Source
BaseHelpers.scala
def zone: ZoneId

Attributes

Inherited from:
DateHandling
Source
DateHandling.scala

Concrete fields

protected var curParamIndex: Int

Attributes

Source
SqlUpdate.scala
lazy override protected val extsBigDecimal: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsBigInt: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsBoolean: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsByte: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsChar: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsDate: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsDouble: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsFloat: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsInt: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsLong: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsShort: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsString: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsURI: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val extsUUID: List[String]

Attributes

Source
SqlUpdate.scala
lazy override protected val handleBigDecimal: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleBigInt: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleBoolean: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleByte: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleChar: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleDate: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleDouble: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleFloat: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleInt: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleLong: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleShort: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleString: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleURI: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val handleUUID: Any => Any

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayBigDecimal: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayBigInt: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayBoolean: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayByte: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayChar: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayDate: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayDouble: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayFloat: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayInt: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayLong: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayShort: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayString: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayURI: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala
lazy override protected val set2arrayUUID: Set[Any] => Array[AnyRef]

Attributes

Source
SqlUpdate.scala

Inherited fields

protected val colSettersMap: Map[List[String], List[Setter]]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var curRefPath: List[String]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var doPrint: Boolean

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var filterElements: List[Element]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var ids: Seq[Long]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var initialNs: String

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var inserts: List[(List[String], List[(String, String)])]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var joinTableDatas: List[JoinTable]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var joins: List[(List[String], String, String, List[String], List[String])]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
var level: Int

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
val logFormatter: Formatter

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
val logLevel: Level

Attributes

Inherited from:
MoleculeLogging
Source
MoleculeLogging.scala
protected var manualTableDatas: List[Table]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected val paramIndexes: Map[(List[String], String), Int]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var placeHolders: List[String]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected val rightCountsMap: Map[List[String], List[Int]]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected val rowSettersMap: Map[List[String], List[Setter]]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
lazy val sqlConn: Connection

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected val tableDatas: Map[List[String], Table]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
lazy protected val transformBigDecimal: BigDecimal => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformBigInt: BigInt => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformBoolean: Boolean => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformByte: Byte => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformChar: Char => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformDate: Date => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformDouble: Double => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformFloat: Float => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformInt: Int => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformLong: Long => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformShort: Short => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformString: String => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformURI: URI => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
lazy protected val transformUUID: UUID => Any

Attributes

Inherited from:
UpdateOps
Source
UpdateOps.scala
protected var uniqueFilterElements: List[Element]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected val updateCols: Map[List[String], List[String]]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala
protected var updates: List[(List[String], List[String])]

Attributes

Inherited from:
SqlBase_JVM
Source
SqlBase_JVM.scala

Implicits

Inherited implicits

final implicit def Regex(sc: StringContext): Regex

Attributes

Inherited from:
RegexMatching
Source
RegexMatching.scala