Class

org.yupana.core

TSDB

Related Doc: package core

Permalink

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. All

Instance Constructors

  1. new TSDB(dao: TSDao[Iterator, Long], metricsDao: TsdbQueryMetricsDao, dictionaryProvider: DictionaryProvider, prepareQuery: (Query) ⇒ Query, extractBatchSize: Int = 10000, config: TSDBConfig = TSDBConfig())

    Permalink

Type Members

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

    Permalink

    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

    Permalink
    Definition Classes
    TSDBTsdbBase

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def applyMapOperation(queryContext: QueryContext, values: InternalRow): InternalRow

    Permalink
    Definition Classes
    TsdbBase
  5. def applyPostMapOperation(queryContext: QueryContext, data: InternalRow): InternalRow

    Permalink
    Definition Classes
    TsdbBase
  6. def applyReduceOperation(queryContext: QueryContext, a: InternalRow, b: InternalRow): InternalRow

    Permalink
    Definition Classes
    TsdbBase
  7. def applyWindowFunctions(queryContext: QueryContext, keysAndValues: Iterator[(KeyData, InternalRow)]): Iterator[(KeyData, InternalRow)]

    Permalink
    Definition Classes
    TSDBTsdbBase
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def createMetricCollector(query: Query): MetricQueryCollector

    Permalink
    Definition Classes
    TSDBTsdbBase
  11. val dao: TSDao[Iterator, Long]

    Permalink
    Definition Classes
    TSDBTsdbBase
  12. def dictionary(dimension: Dimension): Dictionary

    Permalink
    Definition Classes
    TsdbBase
  13. val dictionaryProvider: DictionaryProvider

    Permalink
    Definition Classes
    TSDBTsdbBase
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def evalExprsOnAggregatesAndWindows(queryContext: QueryContext, data: InternalRow): InternalRow

    Permalink
    Definition Classes
    TsdbBase
  17. def evaluateExpressions(queryContext: QueryContext, row: InternalRow, metricCollector: MetricQueryCollector): InternalRow

    Permalink
    Definition Classes
    TsdbBase
  18. def evaluateFilterExprs(queryContext: QueryContext, row: InternalRow, metricCollector: MetricQueryCollector): InternalRow

    Permalink
    Definition Classes
    TsdbBase
  19. val extractBatchSize: Int

    Permalink

    Batch size for reading values from external links

    Batch size for reading values from external links

    Definition Classes
    TSDBTsdbBase
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def finalizeQuery(queryContext: QueryContext, data: Iterator[Array[Option[Any]]], metricCollector: MetricQueryCollector): TsdbServerResult

    Permalink
    Definition Classes
    TSDBTsdbBase
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def getRollupSpecialField(fieldName: String, table: Table): Option[Long]

    Permalink
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def linkService(catalog: ExternalLink): ExternalLinkService[_ <: ExternalLink]

    Permalink
    Definition Classes
    TSDBTsdbBase
  27. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging
  28. def mapReduceEngine(metricCollector: MetricQueryCollector): MapReducible[Iterator]

    Permalink
    Definition Classes
    TSDBTsdbBase
  29. val metricsDao: TsdbQueryMetricsDao

    Permalink
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. implicit val operations: Operations

    Permalink
    Attributes
    protected
    Definition Classes
    TsdbBase
  34. val prepareQuery: (Query) ⇒ Query

    Permalink
    Definition Classes
    TSDBTsdbBase
  35. def put(dataPoints: Seq[DataPoint]): Unit

    Permalink
  36. def putRollupStatuses(statuses: Seq[(Long, String)], table: Table): Unit

    Permalink
  37. def query(query: Query): Result

    Permalink

    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
  38. def readExternalLinks(queryContext: QueryContext, rows: Seq[InternalRow]): Seq[InternalRow]

    Permalink
    Definition Classes
    TsdbBase
  39. def registerExternalLink(catalog: ExternalLink, catalogService: ExternalLinkService[_ <: ExternalLink]): Unit

    Permalink
    Definition Classes
    TSDBTsdbBase
  40. def substituteLinks(condition: Condition, metricCollector: MetricQueryCollector): Condition

    Permalink
    Definition Classes
    TsdbBase
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TsdbBase

Inherited from StrictLogging

Inherited from AnyRef

Inherited from Any

Ungrouped