public class RsgbProxy extends Object implements Runnable, BerichtenHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
RsgbProxy.BerichtSelectMode |
| Constructor and Description |
|---|
RsgbProxy(DataSource dataSourceRsgb,
StagingProxy stagingProxy,
Bericht.STATUS status,
ProgressUpdateListener listener) |
RsgbProxy(DataSource dataSourceRsgb,
StagingProxy stagingProxy,
RsgbProxy.BerichtSelectMode mode,
long[] ids,
ProgressUpdateListener listener) |
RsgbProxy(DataSource dataSourceRsgb,
StagingProxy stagingProxy,
UpdateProcess updateProcess,
ProgressUpdateListener listener) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getHerkomstMetadata() |
void |
handle(Bericht ber,
List<TableData> pretransformedTableData,
boolean updateResult) |
void |
init() |
boolean |
isAlreadyInMetadata(TableRow row,
StringBuilder loadLog) |
void |
renewConnection() |
void |
run() |
void |
setEnablePipeline(boolean enablePipeline) |
void |
setHerkomstMetadata(String herkomstMetadata) |
void |
setJobId(String jobId) |
void |
setOrderBerichten(boolean orderBerichten) |
void |
setPipelineCapacity(int pipelineCapacity) |
void |
setSimonNamePrefix(String prefix) |
List<TableData> |
transformToTableData(Bericht ber) |
List<TableData> |
transformUpdateTableData(Bericht ber) |
void |
update(Bericht ber,
List<TableData> pretransformedTableData) |
void |
updateBerichtException(Bericht ber,
Throwable e) |
void |
updateBerichtProcessing(Bericht ber) |
void |
updateProcessingResult(Bericht ber) |
public RsgbProxy(DataSource dataSourceRsgb, StagingProxy stagingProxy, Bericht.STATUS status, ProgressUpdateListener listener)
public RsgbProxy(DataSource dataSourceRsgb, StagingProxy stagingProxy, RsgbProxy.BerichtSelectMode mode, long[] ids, ProgressUpdateListener listener)
dataSourceRsgb - stagingProxy - mode - listener - public RsgbProxy(DataSource dataSourceRsgb, StagingProxy stagingProxy, UpdateProcess updateProcess, ProgressUpdateListener listener)
public void setJobId(String jobId)
jobId - the jobId to setpublic void setSimonNamePrefix(String prefix)
public void setEnablePipeline(boolean enablePipeline)
public void setPipelineCapacity(int pipelineCapacity)
public void setOrderBerichten(boolean orderBerichten)
public void init()
throws SQLException
SQLExceptionpublic void close()
public void renewConnection()
throws SQLException
renewConnection in interface BerichtenHandlerSQLExceptionpublic void updateProcessingResult(Bericht ber)
updateProcessingResult in interface BerichtenHandlerpublic List<TableData> transformToTableData(Bericht ber) throws BrmoException
transformToTableData in interface BerichtenHandlerBrmoExceptionpublic List<TableData> transformUpdateTableData(Bericht ber) throws BrmoException
BrmoExceptionpublic void updateBerichtException(Bericht ber, Throwable e) throws BrmoException
BrmoExceptionpublic void updateBerichtProcessing(Bericht ber) throws Exception
updateBerichtProcessing in interface BerichtenHandlerExceptionpublic void handle(Bericht ber, List<TableData> pretransformedTableData, boolean updateResult) throws BrmoException
handle in interface BerichtenHandlerBrmoExceptionpublic void update(Bericht ber, List<TableData> pretransformedTableData) throws BrmoException
BrmoExceptionpublic boolean isAlreadyInMetadata(TableRow row, StringBuilder loadLog) throws SQLException, com.vividsolutions.jts.io.ParseException, BrmoException
SQLExceptioncom.vividsolutions.jts.io.ParseExceptionBrmoExceptionpublic String getHerkomstMetadata()
public void setHerkomstMetadata(String herkomstMetadata)
Copyright © 2014–2016 B3Partners B.V.. All rights reserved.