public class DbReaderStructure extends DbReader<IStructureRecord>
DbReader.cached_results| Modifier and Type | Field and Description |
|---|---|
protected CreateStoredQuery |
cache |
protected UpdateExecutor<net.idea.modbcum.i.query.IQueryUpdate> |
cacheUpdater |
protected QueryCachedResultsBoolean |
hits |
protected QueryExecutor<net.idea.modbcum.i.IQueryObject> |
lookup |
protected ProcessorStructureRetrieval |
retriever |
protected ambit2.db.MyQuery |
strucQuery |
executor, handlePrescreen, resultSet| Constructor and Description |
|---|
DbReaderStructure() |
DbReaderStructure(boolean preffered) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cache(String category,
String key,
IStructureRecord object,
boolean ok)
Does nothing, otherwise should cache the query result
|
void |
close() |
protected DbReader.cached_results |
getCached(String category,
String key,
IStructureRecord object)
Returns cached query results or NOTCACHED if not in the cache.
|
protected boolean |
prescreen(net.idea.modbcum.i.IQueryRetrieval<IStructureRecord> query,
IStructureRecord object) |
void |
setConnection(Connection connection) |
afterProcessing, beforeProcessing, getIterator, getResultSet, isHandlePrescreen, setHandlePrescreen, setResultSetcancel, getProcessorChain, getResult, getSilentInterval, getTimeout, onError, onItemProcessed, onItemProcessing, onItemRead, onItemSkipped, open, process, setProcessorChain, setTimeout, skipgetConnection, isCloseConnection, isEnabled, setCloseConnectionaddPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toStringprotected CreateStoredQuery cache
protected UpdateExecutor<net.idea.modbcum.i.query.IQueryUpdate> cacheUpdater
protected ambit2.db.MyQuery strucQuery
protected QueryCachedResultsBoolean hits
protected QueryExecutor<net.idea.modbcum.i.IQueryObject> lookup
protected ProcessorStructureRetrieval retriever
public DbReaderStructure()
public DbReaderStructure(boolean preffered)
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection in interface net.idea.modbcum.i.IDBProcessor<net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,net.idea.modbcum.i.batch.IBatchStatistics>setConnection in class net.idea.modbcum.p.batch.AbstractBatchProcessor<net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,IStructureRecord>net.idea.modbcum.i.exceptions.DbAmbitExceptionpublic void close()
throws Exception
close in interface net.idea.modbcum.i.processors.IProcessor<net.idea.modbcum.i.IQueryRetrieval<IStructureRecord>,net.idea.modbcum.i.batch.IBatchStatistics>close in class DbReader<IStructureRecord>Exceptionprotected boolean prescreen(net.idea.modbcum.i.IQueryRetrieval<IStructureRecord> query, IStructureRecord object) throws net.idea.modbcum.i.exceptions.AmbitException
prescreen in class DbReader<IStructureRecord>net.idea.modbcum.i.exceptions.AmbitExceptionprotected DbReader.cached_results getCached(String category, String key, IStructureRecord object)
DbReadergetCached in class DbReader<IStructureRecord>protected void cache(String category, String key, IStructureRecord object, boolean ok)
DbReadercache in class DbReader<IStructureRecord>Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.