public class AreaPersistTransformer<A extends Area> extends EntityPersistTransformer<A>
Modifier and Type | Field and Description |
---|---|
protected LogisticsService |
service |
em, exceptions, failFast, messages, tm
Constructor and Description |
---|
AreaPersistTransformer() |
Modifier and Type | Method and Description |
---|---|
LogisticsService |
getService() |
void |
setService(LogisticsService service) |
A |
write(A record)
Write a record
|
Collection<A> |
write(Collection<A> input)
Write a Buffer of records at a given time.
|
close, getExceptions, getMessages, getTransactionDef, handleException, init, isExecuteUnderTransaction, isFailFast, isInitialized, setExceptions, setExecuteUnderTransaction, setFailFast, setMessages, setTransactionDef, transform
protected LogisticsService service
public LogisticsService getService()
public void setService(LogisticsService service)
@Transactional(readOnly=false) public Collection<A> write(Collection<A> input)
RealTimeWriter
write
in interface RealTimeWriter<A extends Area>
write
in class EntityPersistTransformer<A extends Area>
input
- as Collection
of records to be written to sink.@Transactional(readOnly=false) public A write(A record)
RealTimeWriter
write
in interface RealTimeWriter<A extends Area>
write
in class EntityPersistTransformer<A extends Area>
Copyright © 2018. All rights reserved.