@Internal public class TransactionRowInputFormat extends GenericInputFormat<Row> implements NonParallelInput
partitionNumber
Constructor and Description |
---|
TransactionRowInputFormat() |
Modifier and Type | Method and Description |
---|---|
Row |
nextRecord(Row reuse)
Reads the next record from the input.
|
void |
open(GenericInputSplit split)
Opens a parallel instance of the input format to work on a split.
|
boolean |
reachedEnd()
Method used to check if the end of the input is reached.
|
close, configure, createInputSplits, getInputSplitAssigner, getStatistics
closeInputFormat, getRuntimeContext, openInputFormat, setRuntimeContext
public void open(GenericInputSplit split)
InputFormat
When this method is called, the input format it guaranteed to be configured.
open
in interface InputFormat<Row,GenericInputSplit>
open
in class GenericInputFormat<Row>
split
- The split to be opened.public boolean reachedEnd()
InputFormat
When this method is called, the input format it guaranteed to be opened.
reachedEnd
in interface InputFormat<Row,GenericInputSplit>
public Row nextRecord(Row reuse)
InputFormat
When this method is called, the input format it guaranteed to be opened.
nextRecord
in interface InputFormat<Row,GenericInputSplit>
reuse
- Object that may be reused.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.