class AvroMetaFileReader extends AvroFileReader
AvroMetaFileReader collects the blocks' information from the Avro file without reading the block data.
- Alphabetic
- By Inheritance
- AvroMetaFileReader
- AvroFileReader
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AvroMetaFileReader(si: SeekableInput)
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() @HotSpotIntrinsicCandidate()
-
def
close(): Unit
- Definition Classes
- AvroFileReader → AutoCloseable
-
var
curBlockStart: Long
- Attributes
- protected
- Definition Classes
- AvroFileReader
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
header: Header
- Definition Classes
- AvroFileReader
-
val
headerSize: Long
- Definition Classes
- AvroFileReader
-
val
headerSync: Array[Byte]
- Attributes
- protected
- Definition Classes
- AvroFileReader
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
-
def
seek(position: Long): Unit
- Attributes
- protected
- Definition Classes
- AvroFileReader
-
val
sin: AvroSeekableInputStream
- Attributes
- protected
- Definition Classes
- AvroFileReader
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
var
vin: BinaryDecoder
- Attributes
- protected
- Definition Classes
- AvroFileReader
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )