Packages

t

org.yupana.core

TsdbBase

trait TsdbBase extends StrictLogging

Core of time series database processing pipeline.

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

Type Members

  1. abstract type Collection[_]

    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.

  2. abstract type Result <: TsdbResultBase[Collection]

Abstract Value Members

  1. abstract def applyWindowFunctions(queryContext: QueryContext, keysAndValues: Collection[BatchDataset]): Collection[BatchDataset]
  2. abstract def calculatorFactory: ExpressionCalculatorFactory
  3. abstract def changelogDao: ChangelogDao
  4. abstract def createMetricCollector(query: Query, user: YupanaUser): MetricQueryCollector
  5. abstract def dao: TSDao[Collection, Long]
  6. abstract def externalLinkServices: Iterable[ExternalLinkService[_]]
  7. abstract val extractBatchSize: Int

    Batch size for reading values from external links

  8. abstract def finalizeQuery(queryContext: QueryContext, rows: Collection[BatchDataset], metricCollector: MetricQueryCollector): Result
  9. abstract def linkService(catalog: ExternalLink): ExternalLinkService[_ <: ExternalLink]
  10. abstract def permissionService: PermissionService
  11. abstract def prepareQuery: (Query) => Query
  12. abstract val putBatchSize: Int

    Batch size for writing values to external links

  13. abstract def registerExternalLink(catalog: ExternalLink, catalogService: ExternalLinkService[_ <: ExternalLink]): Unit
  14. abstract def schema: Schema

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def fillPlaceholders(c: Condition, startTime: Time, params: IndexedSeq[Any]): Condition
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  13. def mapReduceEngine(metricCollector: MetricQueryCollector): MapReducible[Collection]
  14. def mergeCondition(facs: Seq[FlatAndCondition]): Option[Condition]
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  18. def processRows(queryContext: QueryContext, metricCollector: MetricQueryCollector, mr: MapReducible[Collection], rows: Collection[BatchDataset], startTime: Time, params: IndexedSeq[Any]): Result
  19. def put(dataPoints: Collection[DataPoint], user: YupanaUser = YupanaUser.ANONYMOUS): Unit
  20. def putBatch(table: Table, batch: BatchDataset, user: YupanaUser): Unit
  21. def putDataset(table: Table, dataset: Collection[BatchDataset], user: YupanaUser): Unit
  22. def putDataset(tables: Seq[Table], dataset: Collection[BatchDataset], user: YupanaUser): Unit
  23. 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.

  24. def readExternalLinks(queryContext: QueryContext, ds: BatchDataset): Unit
  25. def substituteLinks(flatAndConditions: Seq[FlatAndCondition], startTime: Time, user: YupanaUser, metricCollector: MetricQueryCollector): Seq[FlatAndCondition]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. 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 StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped