Class

quasar.mimir.StatsLibModule.StatsLib

IndexedRankScanner

Related Doc: package StatsLib

Permalink

class IndexedRankScanner extends BaseRankScanner

This class works for the indexed rank case (where we are not worried about row uniqueness). It is much faster than the traits based on UniqueRankScanner.

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

Instance Constructors

  1. new IndexedRankScanner()

    Permalink

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

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 buildRankArrayIndexed(defined: BitSet, r: Range, ctxt: RankContext): (Array[Long], Long, Int)

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

    Permalink
    Definition Classes
    BaseRankScanner
  7. def clone(): AnyRef

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

    Permalink
    Attributes
    protected
    Definition Classes
    BaseRankScanner
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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
    IndexedRankScanner → 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