R
- the return type of the readerpublic abstract class BufferedItemReader<R> extends NoStateTypedItemReader<R>
readAllItems()
which first reads
all the items and have this class handle the rest.
This simple Reader doesn't provide any checkpointInfo
(ItemReader.checkpointInfo()
)
as we only read the items in one go.Constructor and Description |
---|
BufferedItemReader() |
Modifier and Type | Method and Description |
---|---|
protected R |
doRead() |
protected abstract Iterator<R> |
readAllItems()
This methods need to return all the items to be read.
|
close, doCheckpointInfo, doOpen
checkpointInfo, open, readItem
protected abstract Iterator<R> readAllItems()
protected R doRead()
doRead
in class TypedItemReader<R,Serializable>
Copyright © 2017 The Apache Software Foundation. All rights reserved.