final class VectorizedRleValuesReader extends ValuesReader with VectorizedValuesReader
A values reader for Parquet's run-length encoded data. This is based off of the version in parquet-mr with these changes:
- Supports the vectorized interface.
- Works on byte arrays(byte[]) instead of making byte streams.
This encoding is used in multiple places:
- Definition/Repetition levels
- Dictionary ids.
- Alphabetic
- By Inheritance
- VectorizedRleValuesReader
- VectorizedValuesReader
- ValuesReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initFromPage(valueCount: Int, in: ByteBufferInputStream): Unit
- Definition Classes
- VectorizedRleValuesReader → ValuesReader
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
readBinary(len: Int): Binary
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
-
def
readBinary(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readBinarys(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readBoolean(): Boolean
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader → ValuesReader
-
def
readBooleans(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readBooleans(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readByte(): Byte
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
-
def
readBytes(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readBytes(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readBytes(): Binary
- Definition Classes
- ValuesReader
-
def
readDouble(): Double
- Definition Classes
- ValuesReader
-
def
readDoubles(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readDoubles(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readFloat(): Float
- Definition Classes
- ValuesReader
-
def
readFloats(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readFloats(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readInteger(): Int
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader → ValuesReader
-
def
readIntegers(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
-
def
readIntegers(total: Int, values: WritableColumnVector, nulls: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
Decoding for dictionary ids.
Decoding for dictionary ids. The IDs are populated into
valuesand the nullability is populated intonulls. -
def
readIntegers(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
Reads
totalints intocfilling them in starting atc[rowId].Reads
totalints intocfilling them in starting atc[rowId]. This reader reads the definition levels and then will read fromdatafor the non-null values. If the value is null, c will be populated withnullValue. Note thatnullValueis only necessary for readIntegers because we also use it to decode dictionaryIds and want to make sure it always has a value in range.This is a batched version of this logic: if (this.readInt() == level) { c[rowId] = data.readInteger(); } else { c[rowId] = null; }
-
def
readIntegersWithRebase(total: Int, c: WritableColumnVector, rowId: Int, failIfRebase: Boolean): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readIntegersWithRebase(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader, failIfRebase: Boolean): Unit
-
def
readLong(): Long
- Definition Classes
- ValuesReader
-
def
readLongs(total: Int, c: WritableColumnVector, rowId: Int): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readLongs(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readLongsWithRebase(total: Int, c: WritableColumnVector, rowId: Int, failIfRebase: Boolean): Unit
- Definition Classes
- VectorizedRleValuesReader → VectorizedValuesReader
- def readLongsWithRebase(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader, failIfRebase: Boolean): Unit
- def readShorts(total: Int, c: WritableColumnVector, rowId: Int, level: Int, data: VectorizedValuesReader): Unit
-
def
readValueDictionaryId(): Int
- Definition Classes
- VectorizedRleValuesReader → ValuesReader
-
def
skip(): Unit
- Definition Classes
- VectorizedRleValuesReader → ValuesReader
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()