Packages

c

com.nvidia.spark.rapids

HostMemoryInputStream

class HostMemoryInputStream extends InputStream with HostMemoryInputStreamMixIn

An implementation of InputStream that reads from a HostMemoryBuffer.

NOTE: Closing this input stream does NOT close the buffer!

Linear Supertypes
HostMemoryInputStreamMixIn, InputStream, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HostMemoryInputStream
  2. HostMemoryInputStreamMixIn
  3. InputStream
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HostMemoryInputStream(hmb: HostMemoryBuffer, hmbLength: Long)

    hmb

    the buffer from which to read data

    hmbLength

    the amount of data available in the buffer

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 available(): Int
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def close(): Unit
    Definition Classes
    InputStream → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def getPos: Long
    Definition Classes
    HostMemoryInputStreamMixIn
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. val hmb: HostMemoryBuffer
  14. val hmbLength: Long
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def mark(ignored: Int): Unit
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  17. val mark: Long
    Attributes
    protected
    Definition Classes
    HostMemoryInputStreamMixIn
  18. def markSupported(): Boolean
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. val pos: Long
    Attributes
    protected
    Definition Classes
    HostMemoryInputStreamMixIn
  23. def read(buffer: Array[Byte], offset: Int, length: Int): Int
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  24. def read(): Int
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  25. def read(arg0: Array[Byte]): Int
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  26. def readAllBytes(): Array[Byte]
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  27. def readNBytes(arg0: Array[Byte], arg1: Int, arg2: Int): Int
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  28. def readNBytes(arg0: Int): Array[Byte]
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  29. def reset(): Unit
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  30. def skip(count: Long): Long
    Definition Classes
    HostMemoryInputStreamMixIn → InputStream
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def transferTo(arg0: OutputStream): Long
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from InputStream

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped