public abstract class QueryPacketReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output> extends net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q,Output>
Modifier and Type | Field and Description |
---|---|
protected RetrieveProfileValuesAsRow |
chunkQuery |
protected QueryExecutor |
exec |
protected int[] |
idcompound |
protected int[] |
idstructure |
protected int |
index |
protected Profile<Property> |
template |
Constructor and Description |
---|
QueryPacketReporter(Profile<Property> template,
int chunkSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
footer(Output output,
Q query) |
int |
getChunkSize() |
void |
header(Output output,
Q query) |
void |
open() |
protected void |
processChunks() |
void |
setChunkSize(int chunkSize) |
void |
setConnection(Connection connection) |
protected void |
wrapup() |
createBatch, getFileExtension, getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, processItem, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setOutput, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout
getConnection, isCloseConnection, isEnabled
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected QueryExecutor exec
protected RetrieveProfileValuesAsRow chunkQuery
protected int index
protected int[] idstructure
protected int[] idcompound
public int getChunkSize()
public void setChunkSize(int chunkSize)
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection
in interface net.idea.modbcum.i.IDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
setConnection
in class net.idea.modbcum.p.AbstractDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
net.idea.modbcum.i.exceptions.DbAmbitException
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
close
in interface net.idea.modbcum.i.reporter.Reporter<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
close
in class net.idea.modbcum.p.AbstractDBProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
Exception
protected void processChunks() throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected void wrapup() throws net.idea.modbcum.i.exceptions.AmbitException
wrapup
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
net.idea.modbcum.i.exceptions.AmbitException
public void footer(Output output, Q query)
footer
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
public void header(Output output, Q query)
header
in class net.idea.modbcum.r.QueryAbstractReporter<IStructureRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<Q extends net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,Output>
net.idea.modbcum.i.exceptions.DbAmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.