Packages

t

com.nvidia.spark.rapids

OrcPartitionReaderBase

trait OrcPartitionReaderBase extends OrcCommonFunctions with Logging with ScanWithMetrics

A base ORC partition reader which compose of some common methods

Self Type
OrcPartitionReaderBase with FilePartitionReaderBase
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OrcPartitionReaderBase
  2. ScanWithMetrics
  3. Logging
  4. OrcCommonFunctions
  5. OrcCodecWritingHelper
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val conf: Configuration
    Definition Classes
    OrcCommonFunctions
  2. abstract val debugDumpAlways: Boolean

    Whether to always debug dump or only on errors

    Whether to always debug dump or only on errors

    Definition Classes
    OrcCommonFunctions
  3. abstract val debugDumpPrefix: Option[String]

    Whether debug dumping is enabled and the path prefix where to dump

    Whether debug dumping is enabled and the path prefix where to dump

    Definition Classes
    OrcCommonFunctions
  4. abstract def readDataSchema: StructType
    Definition Classes
    OrcCommonFunctions

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildReaderSchema(updatedSchema: TypeDescription, requestedMapping: Option[Array[Int]]): TypeDescription
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  6. def buildReaderSchema(ctx: OrcPartitionReaderContext): TypeDescription

    Get the ORC schema corresponding to the file being constructed for the GPU

    Get the ORC schema corresponding to the file being constructed for the GPU

    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  7. final def calculateFileTailSize(ctx: OrcPartitionReaderContext, footerStartOffset: Long, stripes: Seq[OrcOutputStripe]): Long
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def copyStripeData(dataReader: GpuOrcDataReader, out: HostMemoryOutputStream, inputDataRanges: DiskRangeList): Unit

    Copy the stripe to the channel

    Copy the stripe to the channel

    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  10. final def decodeToBatch(hostBuf: HostMemoryBuffer, bufSize: Long, memFileSchema: TypeDescription, requestedMapping: Option[Array[Int]], isCaseSensitive: Boolean, splits: Array[PartitionedFile]): Option[ColumnarBatch]

    Send a host buffer to GPU for ORC decoding, and return it as a ColumnarBatch.

    Send a host buffer to GPU for ORC decoding, and return it as a ColumnarBatch. The input hostBuf will be closed after returning, please do not use it anymore. 'splits' is used only for debugging.

    Attributes
    protected
  11. def decodeToTable(hostBuf: HostMemoryBuffer, bufSize: Long, memFileSchema: TypeDescription, requestedMapping: Option[Array[Int]], isCaseSensitive: Boolean, splits: Array[PartitionedFile]): Table

    Read the host data to GPU for ORC decoding, and return it as a cuDF Table.

    Read the host data to GPU for ORC decoding, and return it as a cuDF Table. The input host buffer should contain valid data, otherwise the behavior is undefined. 'splits' is used only for debugging.

    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. final def estimateOutputSizeFromBlocks(blocks: Seq[OrcStripeWithMeta]): Long
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def isNeedToSplitDataBlock(curMeta: OrcBlockMetaForSplitCheck, nextMeta: OrcBlockMetaForSplitCheck): Boolean
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  22. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  23. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  24. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. val metrics: Map[String, GpuMetric]
    Definition Classes
    ScanWithMetrics
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def populateCurrentBlockChunk(blockIterator: BufferedIterator[OrcOutputStripe], maxReadBatchSizeRows: Int, maxReadBatchSizeBytes: Long): Seq[OrcOutputStripe]
  40. def readPartFile(ctx: OrcPartitionReaderContext, stripes: Seq[OrcOutputStripe]): (HostMemoryBuffer, Long)

    Read the stripes into HostMemoryBuffer.

    Read the stripes into HostMemoryBuffer.

    ctx

    the context to provide some necessary information

    stripes

    a sequence of Stripe to be read into HostMemeoryBuffer

    returns

    HostMemeoryBuffer and its data size

    Attributes
    protected
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. implicit def toDataStripes(stripes: Seq[DataBlockBase]): Seq[OrcStripeWithMeta]
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  43. def toString(): String
    Definition Classes
    AnyRef → Any
  44. implicit def toStripe(block: DataBlockBase): OrcStripeWithMeta
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. def withCodecOutputStream[T](ctx: OrcPartitionReaderContext, out: OutputStream)(block: (OrcProtoWriterShim) ⇒ T): T

    Executes the provided code block in the codec environment

    Executes the provided code block in the codec environment

    Definition Classes
    OrcCodecWritingHelper
  49. final def writeOrcFileHeader(outStream: HostMemoryOutputStream): Long
    Attributes
    protected
    Definition Classes
    OrcCommonFunctions
  50. final def writeOrcFileTail(outStream: HostMemoryOutputStream, ctx: OrcPartitionReaderContext, footerStartOffset: Long, stripes: Seq[OrcOutputStripe]): Unit

    write the ORC file footer and PostScript

    write the ORC file footer and PostScript

    Attributes
    protected
    Definition Classes
    OrcCommonFunctions

Inherited from ScanWithMetrics

Inherited from Logging

Inherited from OrcCommonFunctions

Inherited from OrcCodecWritingHelper

Inherited from AnyRef

Inherited from Any

Ungrouped