Packages

  • package root
    Definition Classes
    root
  • package com
    Definition Classes
    root
  • package adform
    Definition Classes
    com
  • package streamloader

    The entry point of the stream loader library is the StreamLoader class, which requires a KafkaSource and a Sink.

    The entry point of the stream loader library is the StreamLoader class, which requires a KafkaSource and a Sink. Once started it will subscribe to the provided topics and will start polling and sinking records. The sink has to be able to persist records and to look up committed offsets (technically this is optional, but without it there would be no way to provide any delivery guarantees). A large class of sinks are batch based, implemented as RecordBatchingSink. This sink accumulate batches of records using some RecordBatcher and once ready, stores them to some underlying RecordBatchStorage. A common type of batch is file based, i.e. a batcher might write records to a temporary file and once the file is full the sink commits the file to some underlying storage, such as a database or a distributed file system like HDFS.

    A sketch of the class hierarchy illustrating the main classes and interfaces can be seen below.



    For concrete storage implementations see the clickhouse, hadoop, s3 and vertica packages. They also contain more file builder implementations than just the CsvFileBuilder included in the core library.

    Definition Classes
    adform
  • package model
    Definition Classes
    streamloader
  • StreamInterval
  • StreamPosition
  • StreamRange
  • StreamRangeBuilder
  • StreamRecord
  • Timestamp

final case class Timestamp(millis: Long) extends AnyVal with Ordered[Timestamp] with Product with Serializable

A value wrapper for unix epoch milliseconds.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Timestamp
  2. Serializable
  3. Product
  4. Equals
  5. Ordered
  6. Comparable
  7. AnyVal
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Timestamp(millis: Long)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def <(that: Timestamp): Boolean
    Definition Classes
    Ordered
  4. def <=(that: Timestamp): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def >(that: Timestamp): Boolean
    Definition Classes
    Ordered
  7. def >=(that: Timestamp): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def compare(that: Timestamp): Int
    Definition Classes
    Timestamp → Ordered
  10. def compareTo(that: Timestamp): Int
    Definition Classes
    Ordered → Comparable
  11. def format(pattern: String): Try[String]

    Formats the timestamp as a string.

    Formats the timestamp as a string.

    pattern

    A DateTimeFormatter compatible formatting pattern.

    returns

    The timestamp formatted as a string.

  12. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val millis: Long
  15. def productElementNames: Iterator[String]
    Definition Classes
    Product
  16. def toDate: LocalDate
  17. def toDateTime: LocalDateTime
  18. def toInstant: Instant

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[Timestamp]

Inherited from Comparable[Timestamp]

Inherited from AnyVal

Inherited from Any

Ungrouped