public class BufferedGroupItemReader<I>
extends java.lang.Object
implements org.springframework.batch.item.ItemReader<java.util.List<I>>
Constructor and Description |
---|
BufferedGroupItemReader() |
Modifier and Type | Method and Description |
---|---|
org.springframework.batch.item.ItemReader<I> |
getDelegate()
Gets the delegate.
|
GroupDiscriminator<I> |
getGroupDiscriminator()
Gets the group discriminator.
|
protected boolean |
process(I value,
java.util.List<I> buffer)
Process.
|
java.util.List<I> |
read() |
void |
setDelegate(org.springframework.batch.item.ItemReader<I> delegate)
Sets the delegate.
|
void |
setGroupDiscriminator(GroupDiscriminator<I> groupDiscriminator)
Sets the group discriminator.
|
protected I lastItem
public java.util.List<I> read() throws java.lang.Exception
read
in interface org.springframework.batch.item.ItemReader<java.util.List<I>>
java.lang.Exception
protected boolean process(I value, java.util.List<I> buffer)
value
- the valuebuffer
- the bufferpublic org.springframework.batch.item.ItemReader<I> getDelegate()
public void setDelegate(org.springframework.batch.item.ItemReader<I> delegate)
delegate
- the new delegatepublic GroupDiscriminator<I> getGroupDiscriminator()
public void setGroupDiscriminator(GroupDiscriminator<I> groupDiscriminator)
groupDiscriminator
- the new group discriminator