Class

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

DictionaryDecoder

Related Doc: package encoding

Permalink

final class DictionaryDecoder extends DictionaryDecoderBase with NotNullDecoder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DictionaryDecoder
  2. NotNullDecoder
  3. DictionaryDecoderBase
  4. DictionaryEncoding
  5. ColumnDecoder
  6. ColumnEncoding
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DictionaryDecoder(columnBytes: AnyRef, startCursor: Long, field: StructField, initDelta: (AnyRef, Long) ⇒ Long = ColumnEncoding.identityLong)

    Permalink

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. final val baseCursor: Long

    Permalink
    Attributes
    protected[org.apache.spark.sql]
    Definition Classes
    ColumnDecoder
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink

    Close and relinquish all resources of this encoder.

    Close and relinquish all resources of this encoder. The encoder may no longer be usable after this call.

    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  8. final var currentCursor: Long

    Permalink

    Used by some decoders to track the current sequential cursor.

    Used by some decoders to track the current sequential cursor.

    Attributes
    protected
    Definition Classes
    ColumnDecoder
  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. final def findNextNullPosition(columnBytes: AnyRef, nextNullPosition: Int, num: Int): Int

    Permalink

    Fetch next null position and return it as returned by getNextNullPosition.

    Fetch next null position and return it as returned by getNextNullPosition.

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def getNextNullPosition: Int

    Permalink

    Return the next position of a null value.

    Return the next position of a null value.

    Definition Classes
    NotNullDecoderColumnDecoder
  15. final def getStringDictionary: StringDictionary

    Permalink
    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  16. final def hasNulls: Boolean

    Permalink
    Attributes
    protected[org.apache.spark.sql]
    Definition Classes
    NotNullDecoderColumnDecoder
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. def initializeCursor(columnBytes: AnyRef, cursor: Long, dataType: DataType): Long

    Permalink

    Initialization will fill in the dictionaries as written by the DictionaryEncoder.

    Initialization will fill in the dictionaries as written by the DictionaryEncoder. For string maps it reads in the value array written using DictionaryMap by the encoder expecting the size of UTF8 encoded string followed by the string contents. Long and integer dictionaries are still using the old ObjectHashSet which needs to be moved to DictionaryMap once DictionaryEncoder adds support for long/integer dictionary encoding.

    Attributes
    protected[org.apache.spark.sql]
    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  19. def initializeNulls(columnBytes: AnyRef, startCursor: Long, field: StructField): Long

    Permalink
    Attributes
    protected[org.apache.spark.sql]
    Definition Classes
    NotNullDecoderColumnDecoder
  20. final var intDictionary: Array[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    DictionaryDecoderBase
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def isNullAt(columnBytes: AnyRef, position: Int): Boolean

    Permalink

    Absolute position null check for random access.

    Absolute position null check for random access.

    Definition Classes
    NotNullDecoderColumnDecoder
  23. final var longDictionary: Array[Long]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    DictionaryDecoderBase
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final var nonNullPosition: Int

    Permalink

    Not used by decoders themselves but by delta writer that stores the current nonNullPosition for the decoder.

    Not used by decoders themselves but by delta writer that stores the current nonNullPosition for the decoder. Initialized to -1 so that first increment starts at 0.

    Attributes
    protected[org.apache.spark.sql]
    Definition Classes
    ColumnDecoder
  26. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  28. final def numNulls(columnBytes: AnyRef, ordinal: Int, num: Int): Int

    Permalink

    Return the number of nulls till given ordinal given previous result.

    Return the number of nulls till given ordinal given previous result.

    Definition Classes
    NotNullDecoderColumnDecoder
  29. def readArray(columnBytes: AnyRef, nonNullPosition: Int): ArrayData

    Permalink
    Definition Classes
    ColumnDecoder
  30. def readBinary(columnBytes: AnyRef, nonNullPosition: Int): Array[Byte]

    Permalink
    Definition Classes
    ColumnDecoder
  31. def readBoolean(columnBytes: AnyRef, nonNullPosition: Int): Boolean

    Permalink
    Definition Classes
    ColumnDecoder
  32. def readByte(columnBytes: AnyRef, nonNullPosition: Int): Byte

    Permalink
    Definition Classes
    ColumnDecoder
  33. def readDate(columnBytes: AnyRef, nonNullPosition: Int): Int

    Permalink
    Definition Classes
    ColumnDecoder
  34. def readDecimal(columnBytes: AnyRef, precision: Int, scale: Int, nonNullPosition: Int): Decimal

    Permalink
    Definition Classes
    ColumnDecoder
  35. def readDictionaryIndex(columnBytes: AnyRef, nonNullPosition: Int): Int

    Permalink
    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  36. def readDouble(columnBytes: AnyRef, nonNullPosition: Int): Double

    Permalink
    Definition Classes
    ColumnDecoder
  37. def readFloat(columnBytes: AnyRef, nonNullPosition: Int): Float

    Permalink
    Definition Classes
    ColumnDecoder
  38. def readInt(columnBytes: AnyRef, nonNullPosition: Int): Int

    Permalink
    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  39. def readInterval(columnBytes: AnyRef, nonNullPosition: Int): CalendarInterval

    Permalink
    Definition Classes
    ColumnDecoder
  40. def readLong(columnBytes: AnyRef, nonNullPosition: Int): Long

    Permalink
    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  41. def readLongDecimal(columnBytes: AnyRef, precision: Int, scale: Int, nonNullPosition: Int): Decimal

    Permalink
    Definition Classes
    ColumnDecoder
  42. def readMap(columnBytes: AnyRef, nonNullPosition: Int): MapData

    Permalink
    Definition Classes
    ColumnDecoder
  43. def readShort(columnBytes: AnyRef, nonNullPosition: Int): Short

    Permalink
    Definition Classes
    ColumnDecoder
  44. def readStruct(columnBytes: AnyRef, numFields: Int, nonNullPosition: Int): InternalRow

    Permalink
    Definition Classes
    ColumnDecoder
  45. def readTimestamp(columnBytes: AnyRef, nonNullPosition: Int): Long

    Permalink
    Definition Classes
    ColumnDecoder
  46. def readUTF8String(columnBytes: AnyRef, nonNullPosition: Int): UTF8String

    Permalink
    Definition Classes
    DictionaryDecoderBaseColumnDecoder
  47. final var stringDictionary: StringDictionary

    Permalink
    Attributes
    protected[this]
    Definition Classes
    DictionaryDecoderBase
  48. final def supports(dataType: DataType): Boolean

    Permalink
    Definition Classes
    DictionaryEncodingColumnEncoding
  49. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  51. def typeId: Int

    Permalink
    Definition Classes
    DictionaryDecoderBaseColumnEncoding
  52. final def wait(): Unit

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

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

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

Inherited from NotNullDecoder

Inherited from DictionaryDecoderBase

Inherited from DictionaryEncoding

Inherited from ColumnDecoder

Inherited from ColumnEncoding

Inherited from AnyRef

Inherited from Any

Ungrouped