Trait

org.apache.spark.sql.execution.columnar.encoding

BooleanRunLengthDecoder

Related Doc: package encoding

Permalink

trait BooleanRunLengthDecoder extends RunLengthDecoding

Run length encoding optimized for booleans. Each short run-length value represents the run-length with the value. Even numbered run-lengths indicate a run of false values having half the length, while odd numbered run-lengths are for true values (having length = run / 2 + 1).

Linear Supertypes
RunLengthDecoding, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BooleanRunLengthDecoder
  2. RunLengthDecoding
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final var dataCursor: Long

    Permalink
    Attributes
    protected[this]
    Definition Classes
    RunLengthDecoding
  7. final var endDataCursor: Long

    Permalink
    Attributes
    protected[this]
    Definition Classes
    RunLengthDecoding
  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. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def handleDataEnd(nextPosition: Int): Int

    Permalink

    any different handling when encoded positions end (e.g.

    any different handling when encoded positions end (e.g. for nulls, after last null)

    Attributes
    protected
    Definition Classes
    RunLengthDecoding
  13. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  16. final var nextPosition: Int

    Permalink

    The next position at which the value changes.

    The next position at which the value changes. A value < Int.Max / 2 indicates that current run is of trues while a value greater than that indicates that it is of false values (the maximum number of values in a column batch cannot exceed Int.Max/2).

    Attributes
    protected[this]
    Definition Classes
    RunLengthDecoding
  17. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  19. final def readBooleanRLE(columnBytes: AnyRef, position: Int, nextPosition: Int): Boolean

    Permalink

    Reads the boolean value at given position.

    Reads the boolean value at given position. Calls to this method should be monotonically increasing and never decrease else result may be incorrect.

    Annotations
    @inline()
  20. final def readRunLength(columnBytes: AnyRef, nextPosition: Int): Int

    Permalink

    Read short run-length encoded as 1 or 2 bytes.

    Read short run-length encoded as 1 or 2 bytes.

    Attributes
    protected
    Definition Classes
    RunLengthDecoding
  21. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def updateRunLength(columnBytes: AnyRef, position: Int, nextPosition: Int): Boolean

    Permalink
    Attributes
    protected
  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 RunLengthDecoding

Inherited from AnyRef

Inherited from Any

Ungrouped