Packages

class TSDB extends TsdbBase with StrictLogging

Linear Supertypes
TsdbBase, StrictLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TSDB
  2. TsdbBase
  3. StrictLogging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TSDB(schema: Schema, dao: TSDao[Iterator, Long], changelogDao: ChangelogDao, prepareQuery: (Query) => Query, config: TsdbConfig, metricCollectorCreator: (Query, String) => MetricQueryCollector)

Type Members

  1. type Collection[X] = Iterator[X]

    Type of collection used in this TSDB instance and the DAO.

    Type of collection used in this TSDB instance and the DAO. The default implementation uses Iterator as a collection type. Spark based implementation uses RDD.

    Definition Classes
    TSDBTsdbBase
  2. type Result = TsdbServerResult
    Definition Classes
    TSDBTsdbBase

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applyWindowFunctions(queryContext: QueryContext, batches: Iterator[BatchDataset]): Iterator[BatchDataset]
    Definition Classes
    TSDBTsdbBase
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val calculatorFactory: ExpressionCalculatorFactory
    Definition Classes
    TSDBTsdbBase
  7. val changelogDao: ChangelogDao
    Definition Classes
    TSDBTsdbBase
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def createMetricCollector(query: Query, user: YupanaUser): MetricQueryCollector
    Definition Classes
    TSDBTsdbBase
  10. val dao: TSDao[Iterator, Long]
    Definition Classes
    TSDBTsdbBase
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def externalLinkServices: Iterable[ExternalLinkService[_]]
    Definition Classes
    TSDBTsdbBase
  14. lazy val extractBatchSize: Int

    Batch size for reading values from external links

    Batch size for reading values from external links

    Definition Classes
    TSDBTsdbBase
  15. def fillPlaceholders(c: Condition, startTime: Time, params: IndexedSeq[Any]): Condition
    Definition Classes
    TsdbBase
  16. def finalizeQuery(queryContext: QueryContext, data: Iterator[BatchDataset], metricCollector: MetricQueryCollector): TsdbServerResult
    Definition Classes
    TSDBTsdbBase
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def linkService(catalog: ExternalLink): ExternalLinkService[_ <: ExternalLink]
    Definition Classes
    TSDBTsdbBase
  21. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  22. def mapReduceEngine(metricCollector: MetricQueryCollector): MapReducible[Collection]
    Definition Classes
    TsdbBase
  23. def mergeCondition(facs: Seq[FlatAndCondition]): Option[Condition]
    Definition Classes
    TsdbBase
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. val permissionService: PermissionService
    Definition Classes
    TSDBTsdbBase
  28. val prepareQuery: (Query) => Query
    Definition Classes
    TSDBTsdbBase
  29. def processRows(queryContext: QueryContext, metricCollector: MetricQueryCollector, mr: MapReducible[Collection], rows: Collection[BatchDataset], startTime: Time, params: IndexedSeq[Any]): Result
    Definition Classes
    TsdbBase
  30. def put(dataPoints: Collection[DataPoint], user: YupanaUser = YupanaUser.ANONYMOUS): Unit
    Definition Classes
    TsdbBase
  31. def putBatch(table: Table, batch: BatchDataset, user: YupanaUser): Unit
    Definition Classes
    TsdbBase
  32. lazy val putBatchSize: Int

    Batch size for writing values to external links

    Batch size for writing values to external links

    Definition Classes
    TSDBTsdbBase
  33. def putDataset(table: Table, dataset: Collection[BatchDataset], user: YupanaUser): Unit
    Definition Classes
    TsdbBase
  34. def putDataset(tables: Seq[Table], dataset: Collection[BatchDataset], user: YupanaUser): Unit
    Definition Classes
    TsdbBase
  35. def query(query: Query, startTime: Time = Time(System.currentTimeMillis()), params: IndexedSeq[Any] = IndexedSeq.empty, user: YupanaUser = YupanaUser.ANONYMOUS): Result

    Query pipeline.

    Query pipeline. Perform following stages:

    - creates queries for DAO - call DAO query to get Collection of rows - fills the rows with external links values - extract KeyData and ValueData - apply value filters - window function application - apply aggregation: map, reduce, post-map - post reduce arithmetics - extract field values

    The pipeline is not responsible for limiting. This means that collection have to be lazy, to avoid extra calculations if limit is defined.

    Definition Classes
    TsdbBase
  36. def readExternalLinks(queryContext: QueryContext, ds: BatchDataset): Unit
    Definition Classes
    TsdbBase
  37. def registerExternalLink(externalLink: ExternalLink, externalLinkService: ExternalLinkService[_ <: ExternalLink]): Unit
    Definition Classes
    TSDBTsdbBase
  38. val schema: Schema
    Definition Classes
    TSDBTsdbBase
  39. def substituteLinks(flatAndConditions: Seq[FlatAndCondition], startTime: Time, user: YupanaUser, metricCollector: MetricQueryCollector): Seq[FlatAndCondition]
    Definition Classes
    TsdbBase
  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from TsdbBase

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped