SqlStatsMonitor

edu.gemini.grackle.sql.SqlStatsMonitor
See theSqlStatsMonitor companion object
abstract class SqlStatsMonitor[F[_], A](ref: Ref[F, List[SqlStats]])(implicit evidence$1: Applicative[F]) extends SqlMonitor[F, A]

A SqlMonitor that accumulates SqlStats in a Ref. Stage boundaries and results are not tracked.

Attributes

Companion:
object
Source:
SqlStatsMonitor.scala
Graph
Supertypes
trait SqlMonitor[F, A]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def inspect(fragment: A): (String, List[Any])

Extract the SQL string and query arguments from a fragment.

Extract the SQL string and query arguments from a fragment.

Attributes

Source:
SqlStatsMonitor.scala

Concrete methods

final def queryMapped(query: Query, fragment: A, rows: Int, cols: Int): F[Unit]

Attributes

Source:
SqlStatsMonitor.scala
final def resultComputed(result: Result[ProtoJson]): F[Unit]

Attributes

Source:
SqlStatsMonitor.scala
final def take: F[List[SqlStats]]

Get the current state and reset it to Nil.

Get the current state and reset it to Nil.

Attributes

Source:
SqlStatsMonitor.scala