BQSensorTask

etlflow.task.BQSensorTask
case class BQSensorTask(name: String, query: String, sensor: Iterable[FieldValueList] => Boolean, spaced: Duration, retry: Option[Int]) extends EtlTask[BQ, Unit]

BQ Sensor on SQL query based on output rows satisfying condition defined by sensor function

Attributes

name

Task name

query

BigQuery SQL query

retry

Number of times we need to check query the BQ table before this effect terminates

sensor

Function which takes Iterable[FieldValueList] and return bool, which on returning true exits the poll

spaced

Specifies duration each repetition should be spaced from the last run

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EtlTask[BQ, Unit]
trait ApplicationLogger
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def getTaskProperties: Map[String, String]

Attributes

Definition Classes
EtlTask

Inherited methods

final def execute: RIO[R & Audit, OP]

Attributes

Inherited from:
EtlTask
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
ApplicationLogger
val taskType: String

Attributes

Inherited from:
EtlTask
protected val zioSlf4jLogger: ULayer[Unit]

Attributes

Inherited from:
ApplicationLogger