Object

com.coxautodata.waimak.rdbm.ingestion

RDBMIngestionUtils

Related Doc: package ingestion

Permalink

object RDBMIngestionUtils

Created by Vicky Avison on 04/04/18.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RDBMIngestionUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def caseClassToMap[A](instance: A): Map[String, Any]

    Permalink

    Converts a case class to a Map

    Converts a case class to a Map

    This should probably go in CaseClassConfigParser but needs to cover all scenarios first

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def lowerCaseAll(df: Dataset[_]): Dataset[_]

    Permalink
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def snapshotTemporalTableDataset(ds: Dataset[_], snapshotTimestamp: Timestamp, temporalTableMetadata: SQLServerTemporalTableMetadata): Dataset[_]

    Permalink

    For SQlServer temporal tables, using com.coxautodata.waimak.storage.AuditTable.snapshot(ts) to snapshot will not work due to the extra complication of resolving the main and history tables to find delete events.

    For SQlServer temporal tables, using com.coxautodata.waimak.storage.AuditTable.snapshot(ts) to snapshot will not work due to the extra complication of resolving the main and history tables to find delete events. To correctly snapshot a temporal table, for each pk we need to: 1. order by start col desc, end col asc 2. take the first record in this ordering IF the snapshot timestamp is between the start col and the end col, otherwise return no record for this pk (this record has been deleted)

    ds

    The dataset to snapshot

    snapshotTimestamp

    the snapshot timestamp

    temporalTableMetadata

    the metadata for the temporal table

    returns

    a snapshot of the dataset for the given snapshot timestamp

    Exceptions thrown

    RuntimeException if the table is not temporal

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped