Trait

quasar.mimir.StatsLibModule.StatsLib

BaseRankScanner

Related Doc: package StatsLib

Permalink

trait BaseRankScanner extends CScanner

Base trait for all Rank-scanners.

This provides scaffolding that is useful in all cases.

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

Type Members

  1. type A = RankContext

    Permalink
    Definition Classes
    BaseRankScanner → CScanner
  2. case class RankContext(curr: Long, next: Long, items: Iterable[(ColumnRef, CValue)]) extends Product with Serializable

    Permalink

    Represents the state of the scanner at the end of a slice.

    Represents the state of the scanner at the end of a slice.

    The n is the last rank number used (-1 means we haven't started). The iterable items are the refs/cvalues defined by that row (which will only be empty when we haven't started).

Abstract Value Members

  1. abstract def scan(a: A, cols: Map[ColumnRef, Column], range: Range): (A, Map[ColumnRef, Column])

    Permalink
    Definition Classes
    CScanner

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildRankContext(m: Map[ColumnRef, Column], lastRow: Int, curr: Long, next: Long): RankContext

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def decimalize(m: Map[ColumnRef, Column], r: Range): Map[ColumnRef, Column]

    Permalink
    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findFirstDefined(defined: BitSet, r: Range): Int

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def init: RankContext

    Permalink
    Definition Classes
    BaseRankScanner → CScanner
  15. def initDefined(definedCols: Array[BitSet]): BitSet

    Permalink

    Builds a bitset with a boolean value for each row.

    Builds a bitset with a boolean value for each row. This value for a row will be true if at least one column is defined for that row and false otherwise.

  16. def initDefinedCols(cols: Array[Column], r: Range): Array[BitSet]

    Permalink

    Builds a bitset for each column we were given.

    Builds a bitset for each column we were given. Each bitset contains (end-start) boolean values.

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def shiftColumn(col: Column, start: Int): Column

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from CScanner

Inherited from AnyRef

Inherited from Any

Ungrouped