Package

org.yupana.api

query

Permalink

package query

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AggregateExpr extends Expression

    Permalink
  2. case class AndExpr(conditions: Seq[Condition]) extends Expression with Product with Serializable

    Permalink
  3. case class ArrayExpr[T](exprs: Array[Aux[T]])(implicit elementDataType: Aux[T]) extends Expression with Product with Serializable

    Permalink
  4. case class BinaryOperationExpr[T, U, O](function: Aux[T, U, O], a: Aux[T], b: Aux[U]) extends Expression with Product with Serializable

    Permalink
  5. case class ConditionExpr[T](condition: Condition, positive: Aux[T], negative: Aux[T]) extends Expression with Product with Serializable

    Permalink
  6. sealed trait ConstantExpr extends Expression

    Permalink
  7. case class DataPoint(table: Table, time: Long, dimensions: Map[Dimension, String], metrics: Seq[MetricValue]) extends Product with Serializable

    Permalink
  8. class DataRow extends AnyRef

    Permalink
  9. case class DimIdInExpr(expr: DimensionExpr, values: SortedSetIterator[Long]) extends Expression with Product with Serializable

    Permalink
  10. case class DimIdNotInExpr(expr: DimensionExpr, values: SortedSetIterator[Long]) extends Expression with Product with Serializable

    Permalink
  11. class DimensionExpr extends Expression

    Permalink
  12. sealed trait ExprKind extends AnyRef

    Permalink
  13. sealed trait Expression extends Serializable

    Permalink
  14. trait InExpr extends Expression

    Permalink
  15. class LinkExpr extends Expression

    Permalink
  16. case class MetricExpr[T](metric: Aux[T]) extends Expression with Product with Serializable

    Permalink
  17. case class NotInExpr[T](expr: Aux[T], values: Set[T]) extends Expression with Product with Serializable

    Permalink
  18. case class OrExpr(conditions: Seq[Condition]) extends Expression with Product with Serializable

    Permalink
  19. case class Query(table: Option[Table], fields: Seq[QueryField], filter: Option[Condition], groupBy: Seq[Expression] = Seq.empty, limit: Option[Int] = None, postFilter: Option[Condition] = None) extends Product with Serializable

    Permalink

    Query to TSDB

    Query to TSDB

    table

    table to query data

    fields

    set of fields to be calculated

    filter

    primary data filter

    groupBy

    groupings

    limit

    a number of records to be extracted

    postFilter

    filter applied after aggregation stage (HAVING statement in SQL).

  20. case class QueryField(name: String, expr: Expression) extends Product with Serializable

    Permalink

    Query field is an expression with name

    Query field is an expression with name

    name

    this field name

    expr

    expression

  21. trait Result extends Iterable[DataRow]

    Permalink
  22. case class SimpleResult(name: String, fieldNames: Seq[String], dataTypes: Seq[DataType], rows: Iterator[Array[Option[Any]]]) extends Result with Product with Serializable

    Permalink
  23. case class TupleExpr[T, U](e1: Aux[T], e2: Aux[U])(implicit rtt: Aux[T], rtu: Aux[U]) extends Expression with Product with Serializable

    Permalink
  24. case class TypeConvertExpr[T, U](tc: TypeConverter[T, U], expr: Aux[T]) extends Expression with Product with Serializable

    Permalink
  25. case class UnaryOperationExpr[T, U](function: Aux[T, U], expr: Aux[T]) extends Expression with Product with Serializable

    Permalink
  26. sealed trait WindowFunctionExpr extends Expression

    Permalink

Value Members

  1. object Aggregate extends ExprKind with Product with Serializable

    Permalink
  2. object AggregateExpr extends Serializable

    Permalink
  3. object Const extends ExprKind with Product with Serializable

    Permalink
  4. object ConstantExpr extends Serializable

    Permalink
  5. object DimensionExpr extends Serializable

    Permalink
  6. object ExprKind

    Permalink
  7. object Expression extends Serializable

    Permalink
  8. object InExpr extends Serializable

    Permalink
  9. object Invalid extends ExprKind with Product with Serializable

    Permalink
  10. object LinkExpr extends Serializable

    Permalink
  11. object Query extends Serializable

    Permalink
  12. object Result

    Permalink
  13. object Simple extends ExprKind with Product with Serializable

    Permalink
  14. object TimeExpr extends Expression with Product with Serializable

    Permalink
  15. object Window extends ExprKind with Product with Serializable

    Permalink
  16. object WindowFunctionExpr extends Serializable

    Permalink
  17. package syntax

    Permalink

Ungrouped