Constructor and Description |
---|
RecordScanner() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close()
Close the record reader.
|
abstract RECORD |
getCurrentRecord()
Get the current record.
|
float |
getProgress()
The current progress of the record reader through its data.
|
abstract void |
initialize(Split split)
Called once at initialization.
|
abstract boolean |
nextRecord()
Read the next record.
|
public abstract void initialize(Split split) throws InterruptedException
split
- The split that defines the range of records to read.InterruptedException
public abstract boolean nextRecord() throws InterruptedException
InterruptedException
public abstract RECORD getCurrentRecord() throws InterruptedException
InterruptedException
public float getProgress() throws InterruptedException
InterruptedException
public abstract void close()
Copyright © 2022 Cask Data, Inc. Licensed under the Apache License, Version 2.0.