Trait

quasar.mimir.StatsLibModule.StatsLib

UniqueRankScanner

Related Doc: package StatsLib

Permalink

trait UniqueRankScanner extends BaseRankScanner

This trait works for cases where the rank should be shared for adjacent rows that are identical.

Linear Supertypes
BaseRankScanner, CScanner, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UniqueRankScanner
  2. BaseRankScanner
  3. CScanner
  4. AnyRef
  5. 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).

    Definition Classes
    BaseRankScanner

Abstract Value Members

  1. abstract def buildRankArrayUnique(defined: BitSet, duplicateRows: BitSet, r: Range, ctxt: RankContext): (Array[Long], Long, Long)

    Permalink

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
    Definition Classes
    BaseRankScanner
  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
    Definition Classes
    BaseRankScanner
  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 findDuplicates(defined: BitSet, definedCols: Array[BitSet], cols: Array[Column], r: Range, _row: Int): (BitSet, Int)

    Permalink
  12. def findFirstDefined(defined: BitSet, r: Range): Int

    Permalink
    Definition Classes
    BaseRankScanner
  13. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    BaseRankScanner → CScanner
  16. 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.

    Definition Classes
    BaseRankScanner
  17. 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.

    Definition Classes
    BaseRankScanner
  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def scan(ctxt: RankContext, _m: Map[ColumnRef, Column], range: Range): (RankContext, Map[ColumnRef, Column])

    Permalink

    Definition Classes
    UniqueRankScanner → CScanner
  23. def shiftColumn(col: Column, start: Int): Column

    Permalink
    Definition Classes
    BaseRankScanner
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from BaseRankScanner

Inherited from CScanner

Inherited from AnyRef

Inherited from Any

Ungrouped