Packages

c

com.nvidia.spark.rapids

AvroMetaFileReader

class AvroMetaFileReader extends AvroFileReader

AvroMetaFileReader collects the blocks' information from the Avro file without reading the block data.

Linear Supertypes
AvroFileReader, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AvroMetaFileReader
  2. AvroFileReader
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AvroMetaFileReader(si: SeekableInput)

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def close(): Unit
    Definition Classes
    AvroFileReader → AutoCloseable
  7. var curBlockStart: Long
    Attributes
    protected
    Definition Classes
    AvroFileReader
  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 getPartialBlocks(stop: Long): Seq[BlockInfo]

    Collect the metadata of the blocks until the given stop point.

    Collect the metadata of the blocks until the given stop point. The start block can also be specified by calling 'sync(start)' first.

    It is recommended setting start and stop positions to minimize what is going to be read.

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. val header: Header
    Definition Classes
    AvroFileReader
  14. val headerSize: Long
    Definition Classes
    AvroFileReader
  15. val headerSync: Array[Byte]
    Attributes
    protected
    Definition Classes
    AvroFileReader
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def pastSync(position: Long): Boolean

    Return true if current point is past the next sync point after a position.

    Return true if current point is past the next sync point after a position.

    Definition Classes
    AvroFileReader
  21. def seek(position: Long): Unit
    Attributes
    protected
    Definition Classes
    AvroFileReader
  22. val sin: AvroSeekableInputStream
    Attributes
    protected
    Definition Classes
    AvroFileReader
  23. def sync(position: Long): Unit

    Move to the next synchronization point after a position.

    Move to the next synchronization point after a position. To process a range of file entries, call this with the starting position, then check "pastSync(long)" with the end position before each call to "peekBlock()" or "readNextRawBlock". (Based off of the 'sync' in "DataFileReader" of apache/avro)

    Definition Classes
    AvroFileReader
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. var vin: BinaryDecoder
    Attributes
    protected
    Definition Classes
    AvroFileReader
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. 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 AvroFileReader

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped